array

 function charge(oTr,selectValue){
  var showText= oTr.all("showText");
 
  var array = selectValue;
  var arrayTest=array.split("@");
 
  if(arrayTest[1]==1){
   showText.innerHTML="<input  type='text' name='other2' id='other2'/>至<input  type='text' name='other2' id='other2'/>";
  }else{
   showText.innerHTML="<input  type='text' name='other2' id='other2'/>";
  }
  }

你可能感兴趣的:(array)