<input type="text" name="name" id="searchName" > <input type="text" name="name_two" id="daochuName" > <input type="text" name="txt_JEDX" id="txt_JEDX" > $(function () { $('#searchName').bind('input propertychange',function() { var a= $('#searchName').val(); $('#daochuName').val(a); var fkje = a.replace(/,/g, ""); //大写处理56,000,578数值 document.getElementById("txt_JEDX").value = atoc(fkje); }); })
标签:jquery,function,fkje,val,searchName,js,var,input From: https://www.cnblogs.com/yrhiwx/p/16775471.html