Home >Web Front-end >JS Tutorial >js method to control drop-down menu refresh_javascript skills

js method to control drop-down menu refresh_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:41:141519browse

Idea: The master page hidden control receives the value from the content page and JS controls the reality of the menu item according to the accepted value
Master page:
Hidden control:

Copy the code The code is as follows:



JS:
<%-- Set selected--%>


Content Assign a value to the hidden space of the master page:
//Set the value of the master page Label to control the menu item CSS
The code is as follows:
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