pankaj.ghadge
10-17-2008, 11:21 AM
How to find javascript error in IE.
In fire firefox we see the error and warning in (Tools->Error_Console).
But in IE we see the error on left hand button side.(There is error on page something like that). when we click on that we see the error.
But I am working on one application..................
there is one inbuilt javascript function
onerror = function(e)
{
alert(e);
}
In firefox i don't get any alert message.......or even
onerror = function(e) does not get called. or Error_console i don't see any error ..it is easy to debug in firefox ............
but in IE that onerror = function(e) function get called . and my application get stop.
even in IE i haven't get the error line number .......................In IE onerror = function(e) that function get called means their is error but it does not show any message like (There is error on page) on the bottom side..........
So my question is how to debug in IE.......how to find error line number............
Firefox work well but IE does not...................
So please guide me....................
I need U R Help .........................
In fire firefox we see the error and warning in (Tools->Error_Console).
But in IE we see the error on left hand button side.(There is error on page something like that). when we click on that we see the error.
But I am working on one application..................
there is one inbuilt javascript function
onerror = function(e)
{
alert(e);
}
In firefox i don't get any alert message.......or even
onerror = function(e) does not get called. or Error_console i don't see any error ..it is easy to debug in firefox ............
but in IE that onerror = function(e) function get called . and my application get stop.
even in IE i haven't get the error line number .......................In IE onerror = function(e) that function get called means their is error but it does not show any message like (There is error on page) on the bottom side..........
So my question is how to debug in IE.......how to find error line number............
Firefox work well but IE does not...................
So please guide me....................
I need U R Help .........................