Do you have an alternative js sourcecode that doesn't use the jQuery $()?

  • HospiceUK
    Asked on September 20, 2017 at 2:41 PM

    Our company has a very restrictive CMS that relies on jQuery. As soon as I drop in a jotForm I lose control of the entire page. The page is lost and needs to be deleted! This is not ideal... :/

    Easiest solution would be to republish a safer library, perhaps use $jf() rather than $()?

    thanks,

    Andrew

  • David JotForm Support
    Replied on September 20, 2017 at 3:21 PM

    This will indeed happen if you load form's full source code and other JS libraries on the same page. Unfortunately, the solutions we have currently are using the iFrame embed code or using $.noConflict globally in your other library. It is also mentioned in the jQuery $.noConflict documentation that this is the current solution that they have to avoid conflict from other JS libraries with jQuery: https://api.jquery.com/jquery.noconflict/