Debug Javascript in .Net
To debug the javascript code in the .Net environment.
Add the word "debugger:" before that function in Client script/HTML page.
debugger:
function validation()
{
...
}
To debug the javascript code in the .Net environment.
Add the word "debugger:" before that function in Client script/HTML page.
debugger:
function validation()
{
...
}
I would like to add something that we all might know,
but maybe sometimes we give it a miss.
-Turn debugging on in IE
Go to tools->internet options->advanced.
Make sure that “Disable Script Debugging (other)"
and “Disable Script Debugging (Internet Explorer) are NOT checked. This applies for IE only.