Jason,

I see that Clayton just recommended JSLint.

Beyond that does the HTML validate? Your statement "In fact I can delete the whole line and nothing changes on the error message", leads me to believe that there is something elsewhere in the page that causing IE to throw this error. Some times when I've run into IE Javascript weirdness (works on FF but not on IE (and maybe not on Opera)) it has been because I was outputting invalid or loose HTML. These problems can be a bear to track down.

Brad Perkins

PS - I wouldn't be surprised if something did change in IE or via XP SP3 or Vista Updates.

Jason Hect wrote:
I received a call today about an error on our web site. Nothing has changed code wise with it for probably over a year, so I'm fairly certain this is caused by some recent update to IE. The page still works fine on Firefox. When the user tries to accept an order, they get the following IE script error:

Line:  212
Char:  1
Error:  `Check_Out' is undefined
Code:  0
URL:  https://jpmc.superiorbag.com/Check_Out.a4d

Check_Out.a4d is the name of the page, and the only place "Check_Out" is reference is in the form's onsubmit property. At the top of the page, I check which button the user pressed (if any), and act accordingly. Regardless whether I click yes or no to continue the script or not, the page appears to reload, and my scripts run fine. Line 212 of the page seems to have nothing to do with the problem. In fact I can delete the whole line and nothing changes on the error message.

Did something recently change with IE so that it doesn't like referencing the current page for form onsubmit? Though I do this on other pages with no problems?

Thanks,
Jason
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/




_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to