Home  >  Article  >  Web Front-end  >  After the jsp page jumps, the css style does not take effect. The style_html/css_WEB-ITnose appears after refreshing the page.

After the jsp page jumps, the css style does not take effect. The style_html/css_WEB-ITnose appears after refreshing the page.

WBOY
WBOYOriginal
2016-06-24 12:05:363181browse

rt, after applying some style functions of jq, the page jump is performed. The css style of the new page has no effect and must be refreshed once. What’s the explanation?


Reply to discussion (solution)

js not running?

The reason why the style file is cached, please pass a variable parameter

Parameter error

js is not running?

It will take effect after refreshing

The reason why the style file is cached, please pass a variable parameter

This is not the problem. After I add the onclick method to the A tag, it will be fine. No Understand the reason. Direct A mark jump with parameters is not possible

Parameter error

There is no error. After I changed the A mark jump to onclick to trigger the JS method jump, That's it. . . Unknown truth
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