如何用jquery获取<input id="test" name="test" type="text"/>中输入的值?
$(" #test ").val()
$(" input[ name='test' ] ").val()
$(" input[ type='text' ] ").val()
$(" input[ type='text' ]").attr("value")
如何用jquery获取<input id="test" name="test" type="text"/>中输入的值?
猜你喜欢
转载自www.cnblogs.com/xieshilin/p/11707761.html
今日推荐
周排行