Hi, This seems to be fairly widely discussed:
http://www.google.com/search?q=ie+%22unspecified+error%22+beforeunload Put a try/catch around the line assigning the value to window.location.href, apparently IE throws an error from that line if the navigation is cancelled (which is actually kinda cool). -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Feb 12, 8:01 pm, Loc Nguyen <[email protected]> wrote: > IE is returning an error when I click cancel on the confirmation > message. You can view the source here: > > http://radiantcube.com/unload.html > > The happy path: > 1) fill out a proper url in the text box > 2) click go > 3) page returns a confirmation message asking if you're sure you want > to leave > 4) click cancel, and the page doesn't unload > > The error happens in IE after I click cancel. Interestingly, if I > click the Google link I don't get this error. > > Any thoughts and suggestions? Thanks so much for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
