【发布时间】:2012-10-10 00:15:41
【问题描述】:
我有代码 HTML
<input id="info[text1]" type="text" value="1"/> <br>
<input id="info[text2]" type="text" value="2"/> <br>
我想使用 jquery 选择 id='info[text1]' 但我不能,所以你能帮帮我吗!
【问题讨论】:
-
@YuriyRozhovetskiy 这些是 HTML5 中的有效 ID。
-
@undefined,感谢您的提示。 +1 给 OP :)
标签: jquery jquery-selectors selector textinput