mode_company.js 431 B

1234567891011121314151617
  1. //流程模块【company.公司单位】下录入页面自定义js页面,初始函数
  2. function initbodys(){
  3. if(form('yuming'))$(form('yuming')).blur(bluryuming);
  4. }
  5. function bluryuming(){
  6. var val = this.value;
  7. if(val){
  8. val = strreplace(val);
  9. val = val.replace('https://','');
  10. val = val.replace('http://','');
  11. if(val.indexOf('/')>-1){
  12. val = val.substr(0, val.indexOf('/'));
  13. }
  14. this.value = val;
  15. }
  16. }