<input type="text" id="api_ean_code" name="api_ean_code" value="" placeholder="请扫码">
<script>
$(function (){
// 监听
$(document).on('input propertychange', '#api_ean_code', function () {
console.log($(this).val());
});
});
</script>
jquery 监听 input 值改变
最新推荐文章于 2023-12-29 23:26:56 发布