1.$(" #test ").val()
2.$(" input[ name='test' ] ").val()
3.$(" input[ type='text' ] ").val()
4.$(" input[ type='text' ]").attr("value")
转载于:https://www.cnblogs.com/dth08011122/p/7560001.html
1.$(" #test ").val()
2.$(" input[ name='test' ] ").val()
3.$(" input[ type='text' ] ").val()
4.$(" input[ type='text' ]").attr("value")
转载于:https://www.cnblogs.com/dth08011122/p/7560001.html