jquery如何获取input的type值
我的站长站
2023-11-03
共人阅读
jquery如何获取input的type值,首先我们要知道获取input的选择器用:
$("input:name")然后获取值用:
.val()
完整代码是:
$("input:name").val() 