【发布时间】:2012-11-09 06:57:48
【问题描述】:
我有这两个复选框:
<label for="cell">3. Do you currently have a cell phone? (Y/N)</label>
<input type="checkbox" name="cell" name="cell" id="cell" data-on="Yes" data-off="No" />
<label for="blackBerry">4.If YES, is the cell phone a BlackBerry? (Y/N)</label>
<input type="checkbox" name="blackBerry" name="blackBerry" id= "blackBerry" data-on="Yes" data-off="No" />
我怎样才能让第二个问题显示在页面上,只有当第一个问题被选择为是时?
提前致谢。
【问题讨论】:
-
我假设你的意思是 first 被选为是?是吗?
-
@lanzz - 与此类似的东西:forums.yessoftware.com/posts.php?post_id=119322,但它对我没有用。
标签: javascript html