I need to know if there is a way to prevent scripts from inadverntly calling functions in jQuery.
Basically, I'm calling jQuery in the page head on each page since it's required for certain functionality across the whole site. However, on my 'Contact' page, I have embedded a contact form that I built using JotForm. The form is hosted locally in order to reduce load times.
For the most part (in all modern browsers) this doesn't cause any issues - but in IE8 I get a stack overflow error when trying to leave the page. It seems that this is due to some code in the form inadvertently calling jQuery functions in ways that make no sense.
So what I need is to exclude the form-containing div and all of it's contents from being able to call jQuery functions.
I'm hoping that this is doable with a relatively simple line of code that I can throw in before the form. Modifying the form scripts is beyond my level of competence at this point. Any advice appreciated.
FYI - It's a PHP site. Not sure if this makes any difference?