//小写字母自动转换大写字母 $("#carno_").bind("input propertychange", function() { var str=$("#carno_").val(); str=str.toUpperCase(); $("#carno_").val(str); });