js中身份证含有小写 x时,自动转为大写(jsp)

2021-09-21 00:13

阅读:1086

标签:upper   NPU   ase   this   身份证   color   rip   cas   property   1.js方法封装 MC.upperCase=function chang(domId){ $(domId).on("input propertychange",function(){ var a=$(this).val(); a=a.toUpperCase(); $(domId).val(a) }) ; } 2.方法调用 MC.upperCase(‘#female_zjhm‘); js中身份证含有小写 x时,自动转为大写(jsp)标签:upper   NPU   ase   this   身份证   color   rip   cas   property   原文地址:https://www.cnblogs.com/maoxy/p/12193271.html


评论


亲,登录后才可以留言!