Jquery 获取当前选中的Label 的for 的值 !求帮助 给高分!点击label 获取哟亲!
<inputid="picture"type="radio"style="display:none"name="docType"value="图片"/><labelcla...
<input id="picture" type="radio" style="display: none" name="docType" value="图片" /><label class="lbDocType" for="picture" onclick="DocTypeClick(this)">图片</label>
<input id="video" type="radio" style="display: none" name="docType" value="视频" /><label class="lbDocType" for="video" onclick="DocTypeClick(this)">视频</label> 展开
<input id="video" type="radio" style="display: none" name="docType" value="视频" /><label class="lbDocType" for="video" onclick="DocTypeClick(this)">视频</label> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询