RyanP13 RyanP13 - 1 month ago 18
jQuery Question

jQuery conflicts when iframe used to insert web form

I am having to iframe a form into a development site. The form will be hosted on the same domain but i am not able to edit any of the contens of the document that contains the form.

My issue is that the document that contains the form is using a very old version of jQuery and was wondering if this is going to cause conflicts with the vaersion (latest) on the parent site.

Answer

There will be no conflicts, the two documents are completely separate. It is possible to interact between the two DOMs, the actual script cannot see each other. This makes iframes ideal for sand-boxing.