Jump to content

Javascript Works In Msie But Not Firefox


andrewmoquin
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...