mode_custsale.js 202 B

123456789
  1. function initbodys(){
  2. $(form('custid')).change(function(){
  3. var val = this.value,txt='';
  4. if(val!=''){
  5. txt = this.options[this.selectedIndex].text;
  6. }
  7. form('custname').value=txt;
  8. });
  9. }