HTML Javascript
-
I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck
-
I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck
-
I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck
In Internet Explorer you can enable javascript debugging by unchecking the option "Disable Script Debugging(Internet Explorer)" and for others you can use "Disable Script Debugging(Other)" from Tools -> Internet Options -> Advanced Regards, Kaushal Arora Mark the reply as Answer if it solved your purpose.
-
I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck
-
In Internet Explorer you can enable javascript debugging by unchecking the option "Disable Script Debugging(Internet Explorer)" and for others you can use "Disable Script Debugging(Other)" from Tools -> Internet Options -> Advanced Regards, Kaushal Arora Mark the reply as Answer if it solved your purpose.
Good answer if I want to see the same error in a dialog box, but the error says: A runtime error as occurred. Do you wish to debug? Then tells me the line number and Error Expected ")". That would be great except Looking at the HTML there is not "(" for there to be an matching ")", and I cannot view the Javascript to see which function is being called to get the error.. Then clicking OK takes me to the end of a closing TableCell tag that is exactly like the other 500 tags in the aspx page. andsays "Miscrsoft JScript runtine error: Object expected". Now that tells me alot of nothing... Any ideas for refining the debug answers more specifically?
-
I'd recommend Firefox and Firebug: http://getfirebug.com/[^] Scott
-
Good answer if I want to see the same error in a dialog box, but the error says: A runtime error as occurred. Do you wish to debug? Then tells me the line number and Error Expected ")". That would be great except Looking at the HTML there is not "(" for there to be an matching ")", and I cannot view the Javascript to see which function is being called to get the error.. Then clicking OK takes me to the end of a closing TableCell tag that is exactly like the other 500 tags in the aspx page. andsays "Miscrsoft JScript runtine error: Object expected". Now that tells me alot of nothing... Any ideas for refining the debug answers more specifically?
Just write the word debugger in the starting if your javascript function which you are calling or you can apply it after the script tag starts and try to debug the javascript code like we do with cs of vb file. Regards, Kaushal Arora
-
Just write the word debugger in the starting if your javascript function which you are calling or you can apply it after the script tag starts and try to debug the javascript code like we do with cs of vb file. Regards, Kaushal Arora
One of the things I have discovered about javascript in VS 2005 if there is a single syntax error in the function it will not even execute. I added the work "Debugger" to every function in the file and still with the same results... Is there a simple syntax checker out there someplace??? Thanks...
-
Just write the word debugger in the starting if your javascript function which you are calling or you can apply it after the script tag starts and try to debug the javascript code like we do with cs of vb file. Regards, Kaushal Arora
Thanks for all your assistance.. I found a javascript syntax checker, www.jslint.com, it works great. just what I needed...
-
Not part of the development environment. Is there a way to have visual studio 2005 launch FireFox instead of IE?
Just Right Click on the Website in the Solution Explorer and click the option Browse With. There add the firefox.exe and you can then use the firefox browser instead of IE. Regards, Kaushal Arora
-
Just Right Click on the Website in the Solution Explorer and click the option Browse With. There add the firefox.exe and you can then use the firefox browser instead of IE. Regards, Kaushal Arora