What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Another JQuery/Feedback button issue ...Asked by grassmedia on February 21, 2014 at 03:25 AM
JQuery is so pervaisive these days on the web and the feedback-style embedding code is very useful in responsive designs where other embedding methods can be a bit of a challenge, I'm surprised we still get conflicts.
I see a number of posts on the forum where this has been a problem (disabling JQuery image sliders for example) but I've not seen a definitive solution or reliable workaround, just pointers to various JQuery "no conflict" articles, all of which I've found singularly unhelpful in resolving the problem.
Is there not a way that the Jotform script could be called in such a way as to avoid conflicts with other JQuery libraries?
Even if the plugins use the same library (jQuery, in this instance), if they were made by different developers, conflicts are still bound to arise, especially if the codebases for the respective plugins are built around different versions of jQuery.
If you are okay with sharing your site's URL, we can take a look at it and see if we can find solutions for the problems you are having.
We'll look forward to your response on this matter.
Indeed, of course you are right, conflicts are bound to arise. I use JQuery a lot and various libraries that use JQuery and I have to say, in all honesty, the only conflicts I've ever encountered involved the Jotform feedback button calls.
This is not really a complaint or critisism, just what I've found to be true. My guess if that the Jotform call also calls a version of JQuery in the background so, if that's the case, then why not modify the Jotform JS to substitue $ for say $Jotform in JQuery which *might* cure a lot of problems for people? Or maybe it's becuase Jotform is using Jquery 1.6.4 which is pretty old now?
You're more than welcome to look at the site I'm building at the moment but I doubt you'll be able to help much - if you can, I'll be very grateful and very impressed :)
You'll see that at present, the Jotform feedback button is correctly displayed at the top of the screen but the image slideshow above the words "commercial", "Studio" and "Personal" is not. By commenting-out the Jotform script (before the /body tag) the slideshow works just fine.
I will try my very best to help.
Which plugin is it again that isn't working as expected on your site?
It's html5gallery.js (with Jquery 1.11.0 already resident) which provides the slideshow.
How about a version of http://cdn.jotfor.ms/static/feedback2.js?3.2.618 for people with JQuery already resident? Could save 92k that way as a bonus!
I am not sure if your last request can be granted. We would not want to confuse users with yet another option to check whether they have jQuery or not.
Oh and by the way, just so you know, we are already using a different variable to call the jQuery object, so I am pretty sure that that is not the cause of the problem you're reporting.
I will let you know if I find any solution for this predicament of yours.
Thanks Neil, I really do appreciate your help, even if I do sound a bit grumpy ;)
It is alright. I already got used to grumpy users, and I am a grumpy customer myself when I don't get something I want from a product/service :)
Anyway, I think I may have found a solution, and that is to move the JotForm feedback script to the top of the other script tags, just right after the link tags.
Please do keep us posted on your results.
lol brilliant - that works! I'll have to try to remember that cos this isn't the first time I've struggled with it! Thanks Neil, I should have tried that before bothering you.
We're happy to hear that the solution worked for you.
Have a great day ahead :)