input输入框的change事件,要在input失去焦点的时候才会触发 spa
$('input[name=myInput]').change(function() { ... });
用下面的方法会生效,input code