How to prevent script conflict?

  • Profile Image
    Kamran
    Asked on August 23, 2013 at 01:53 AM

     

    DETAILS::

    I am using javascript  for drop down mwnu on all pages. and working properly.

    when  using Contact us form, where i am also using  jot form script

    Following line makes problem and drpo down mneu does not work

    ""

    <script src="//cdn.jotfor.ms/static/jotform.js?3.1.1340" type="text/javascript"></script>

    ""

    when I detach this line, drop down script work properly. Now what to, to resolve the problem. please reply asap.

     

    Thanks,

    M.Kamran

  • Profile Image
    khrisell
    Answered on August 23, 2013 at 09:47 AM

    Hello,

    Can you provide the URL of your Website/Page also the Form ID or the URL of your form so that we could further check and visualize the error you are having and assist you better.

    Thank you and I will wait for your reply.

  • Profile Image
    webnagar
    Answered on August 23, 2013 at 01:33 PM
    Hi,
    website url is: http://www.gracehealthcare.com.pk/ and you can find Jotform at : contactus page
    http://www.gracehealthcare.com.pk/contactus.html
    when use script for drop down menu , all d.dn. menus working on all pages, but at contactus page drop down menu does not work with JotForm script . If I remove line:
  • Profile Image
    Welvin
    Answered on August 23, 2013 at 06:10 PM

    Hi,

    Good day!  I would suggest re-embedding your form using our iframe method: How to Get Form iFrame Codes. iFrame Method should help you to prevent the script conflict.

    Thanks