开发者

how to get the users id's on after select checkbox from fieldset using jquery

I am using this code to select the checbox from fieldset:

$("fieldset:has(input[开发者_如何学Pythontype='checkbox'])")

its working fine on the fieldset I have studentid's I need to get the student id's which ever textbox is selected on the fieldset?

Can anybody help me out?

thanks


Try:

$("fieldset input[name=theName]:checkbox:checked").each(function() {
    alert(this.value);
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜