The reasons why javascript has no effect are: 1. The script is disabled in the browser used; 2. There is an error in the script code; 3. The script is not called or the script content does not display the effect.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
Analysis of possible reasons:
1. Your browser has disabled scripts (the solution is to set the security item in IE options to the lowest)
2. Script code There is an error (solution, modify the code)
3. The script is not called or the script content does not display the effect
[Recommended learning: javascript advanced tutorial]
The above is the detailed content of Why is there no effect when running javascript?. For more information, please follow other related articles on the PHP Chinese website!