If you want to see the issue in action, please visit this link.
To replicate this error, choose a "Color" and "Size", then click "Add to Cart". While the "loading..." dialog box is still visible, click on the shade to close it. Quickly click on any other link on the page to trigger the error shown below.
By performing these steps swiftly, you will encounter the following alerted errors:
Error: $("j2t-temp-div").down(".j2t_ajax_message") is undefined
(Experienced in Firefox 9)
Error: Cannot read property 'innerHTML' of undefined
(Encountered in Chrome 17)
No error alerts will be triggered in IE 8.
I need assistance in preventing this error from appearing when interacting with the website. It has happened accidentally multiple times and I fear that users might stumble upon it as well. This issue does not reflect well on a live site.
Is there a method to disable this exception without compromising the functionality of AJAX cart addition?
Your input and suggestions are highly valued. Thank you!