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:
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