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....
精彩评论