如何用jquery获取<input id="test" name="test" type="text"/>中输入的值?
$(" #test ").val()
$(" input[ name='test' ] ").val()
$(" input[ type='text' ] ").val()
$(" input[ type='text' ]").attr("value")
更多操作:http://blog.sina.com.cn/s/blog_70491fc60100t5kw.html