The value passed through the action gets the method for validation at option
- 2020-03-29 23:43:39
- OfStack
The value passed through the action is obtained at option to verify the method:
for(var i=0;i<document.getElementById("ufacilityType").options.length;i++){
if(document.getElementById("ufacilityType").options[i].text==datas[0].facilityType){
document.getElementById("ufacilityType").options[i].selected=true;
break;
}
}