开发者

Select inputs with jquery

How can I select input fields with names like name="myinput[someth开发者_如何学Going][etc]" ?

$('input[name=myinput[something][etc]') doesnt seem to work...


Just give them id attributes. It will save you a lot of grief.

Or you could try $('input[name="myinput[something][etc]"]')


$('input[name="myinput[something][etc]"]');


$('input[name="myinput[something][etc]"]')

if want to select by id, then it must be

$('input[id=""]')

hope this....

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜