Codementor Events

When javascript functions is not working on a page

Published May 24, 2019
When javascript functions is not working on a page

If javascript is not working/loading on a page, open web developer tools on the browser and go to console check any errors is showed on. If you find any errors on console, then all the rest of the scripts won't work after the script which got error. This is because javascript stops executing of scripts if any error occured.

Other step to find the cause of not loading javascript: Inspect the page on right click button of the mouse and see if any script is coded into <head> tag. If any, just move the script to the bottom of the code before </body> tag.

Discover and read more posts from Vengatesh
get started
post commentsBe the first to share your opinion
Show more replies