Home >Web Front-end >JS Tutorial >How to get the value passed through action in option for verification_javascript skills

How to get the value passed through action in option for verification_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 17:15:25821browse

The value passed through the action is obtained in the option for verification:

Copy the code The code is as follows:

for(var i=0;iif(document.getElementById("ufacilityType").options[i].text==datas [0].facilityType){
document.getElementById("ufacilityType").options[i].selected=true;
break;
}
}
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn