Code Conflict

  • Profile Image
    Dannilee
    Asked on January 08, 2013 at 11:13 PM

    Hi

     

    I have a jquery footer and it works fine until I add the form and then it doesn't. I also get a error when previewing the page, "unable to get value of property click, null or not an object".

    Here is the page:

    http://trialsites.ihoststudio.com/trialsite362992/website/

    Please can you advise.

    Thanks in advance

  • Profile Image
    jeanettebmz
    Answered on January 08, 2013 at 11:21 PM

    That's because our forms are made in Javascript Prototype.  Please add the noconflict function right after the last jquery line of code of your page and just before the Jotform code

     

    <script>jQuery.noConflict();</script>

     

    http://api.jquery.com/jQuery.noConflict/ 

  • Profile Image
    shervink
    Answered on January 10, 2013 at 01:02 PM

    I tried that and it did not work. It is still conflicting with the image gallery that is using jquery.

    Here is the site I am referencing.

    http://www.drjenningsortho.com/office-tour.php

  • Profile Image
    jeanettebmz
    Answered on January 10, 2013 at 01:23 PM

    I don't see the noconflict() function in the source code of your php page

    this  line of code     <script>jQuery.noConflict();</script>

    Should be inserted on this section