RSS

|| javascript || tip || javascript code is in-affective

18 Oct

If you find that some of javascript (js) code is not executing and the positioning of the code is also playing its part i.e. you put the code at the top it works and at the required position its not working, then most probably there is an error in the js file. As in php any syntax error leads to dead blank page similarly any error in js code makes the remaining js code  in-affective. For tracing the error log, you can follow any of two options:

1) Check the error details at Tools->Error Console

2) Click on firebug and check the Console menu.

So, along with the code under observation you have to check other js code in the file if you find your js code quite 🙂

Advertisements
 
Leave a comment

Posted by on October 18, 2011 in javascript

 

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: