如何用jquery获取input输入框中的值?
如何用jquery获取<input />中输入的值?
$(" #test ").val() $(" input[ name='test' ] ").val() $(" input[ type='text' ] ").val() $(" input[ type='text' ]").attr("value")
- 上一篇 »html输入框中各种正则表达式设置
- 下一篇 »输入框中提示信息,html5
如何用jquery获取<input />中输入的值?
$(" #test ").val() $(" input[ name='test' ] ").val() $(" input[ type='text' ] ").val() $(" input[ type='text' ]").attr("value")