function resetForm(){
  var v=document.forms[0].elements;
  for(var i=0;i<v.length;i++){
    if(v[i].type=="text" || v[i].type=="select-one" ){
      v[i].value="";
    }
  }
}
Comments(0) | Trackbacks(0) | Reads(1585)
Add a comment
Nickname [Register]
Password Optional
Site URI
Email
Enable HTML Enable UBB Enable Emots Hidden Remember