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

WBOY
Release: 2016-05-16 17:15:25
Original
783 people have browsed it

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;
}
}
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template