jquery如何获取input的type值,首先我们要知道获取input的选择器用:
$("input:name")
然后获取值用:
.val()
完整代码是:
$("input:name").val()