When I put the form javascript code in the head it prevent my website from showing navigation

  • Profile Image
    youssef 
    Asked on October 21, 2014 at 04:30 PM

    when I place the java script code of the form in the head it prevent my website from showing navigation. navigation get disabled. Even if I placed the code at the bottom of the page it still disable my navigation button.  when I delete the java script code it, the navigation button works. These are the codes that causing the problem

     








    This image is with code

     

  • Profile Image
    youssef 
    Answered on October 21, 2014 at 05:38 PM

    I did try and error and found this code causing the above problem

     

    <script src="../js/prototype.js?v=3.2.4114" type="text/javascript"></script>

  • Profile Image
    Mike_T
    Answered on October 21, 2014 at 06:50 PM

    There is probably a javascript namespace conflict between jQuery (navigation) and Prototype (form) javascript libraries on your web page.

    Please try to use a jQuery.noConflict to solve the scripts conflict:

    jQuery.noConflict()

    If you need any further assistance, please let us know.

  • Profile Image
    youssef 
    Answered on October 22, 2014 at 02:41 PM
    I am not sure if i am using the nocoflict code right


    On Tuesday, October 21, 2014 5:50 PM, "JotForm Support Forum" wrote:

    New response received A new response has been received: Answered by Mike_T There is probably a javascript namespace conflict between jQuery (navigation) and Prototype (form) javascript libraries on your web page.Please try to use a jQuery.noConflict to solve the scripts conflict:jQuery.noConflict()If you need any further assistance, please let us know. View this thread on browser » Unsubscribe Thread 1413931820

    ...
  • Profile Image
    Mike_T
    Answered on October 22, 2014 at 03:47 PM

    You might consider publishing the page somewhere and sharing the link with us. This way we will be able to look into.