Jump to content

Javascript Works In Msie But Not Firefox


andrewmoquin

Recommended Posts

Script works in MSIE but not FireFox (part of a VB.NET 2005 web site)There must be a place in FireFox or a JavaScript settings somewhere that allows errors to continue.The below works in MSIEvar _rate = "ctl00$ContentPlaceHolder1$txtrate"+index;var rate = document.getElementById(_rate).value;index = 1 to 10 for each row on the page. In this case it is 1 (the first).But it the FireFox java errors it gets a null and terminates.Why is it getting a null. It works fine on MSIE._______________________________________________“Great works are performed, not by strength, but by perseverance.” “Marriage is a three rings circus: engagement rings , wedding rings and sufferings.”

Link to comment
Share on other sites

There must be a place in FireFox or a JavaScript settings somewhere that allows errors to continue.
No there's not, the solution is to catch errors before they happen.
Why is it getting a null.
We would need to see the HTML DOM structure that it's working on.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...