Home >Web Front-end >JS Tutorial >The js code to implement the connection jump function when clicking on the drop-down menu_javascript skills

The js code to implement the connection jump function when clicking on the drop-down menu_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:33:401181browse
1.js code
Copy code The code is as follows:

< !--
function MM_jumpMenu(targ,selObj,restore){
eval(targ ".location='" selObj.options[selObj.selectedIndex].value "'");
if (restore) selObj.selectedIndex=0;
}
-->

2. Use
Copy the code The code is as follows:

Alumni Association link:




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