Hướng dẫn tham khảo chọn器 jQuery
Chọn thẻ <input> với type="text":
$(':text')
Thử ngay
Chọn器 :text选取类型为 text của thẻ <input>.