boomstik
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Forms] Redirect breaks in a few ways with jQuery 1.8.2And yet again.
things seem to be even simpler.
jQuery needs to be loaded in the<head>, then your plugin works. modifications to your code are not necessary.Is there any way to get your plugin’s js to load last? as it stands, it loads itself before jQuery if it’s enqueued in the footer, and thus things break.
Sorry for the confusion, i’ve been posting simultaneously with the troubleshooting. 🙂
Forum: Plugins
In reply to: [Google Forms] Redirect breaks in a few ways with jQuery 1.8.2ok, so it looks like things are working fine with built-in jQuery, but not when enqueued from Google. I would still get the “jQuery is not defined” message, until I added the following to wpgform-core.php:
…
var $j = jQuery.noConflict();
$j(document).ready(function($) {
…basically aliasing jQuery to $j… and then it all works using Google’s jQuery, even using the ajax confirmation page.
interestingly, I had to do this in my own scripts when NOT using Google’s jquery.on a separate note: when using ajax to display confirmation page, it loads the entire contents of
<head>into<body>.Forum: Plugins
In reply to: [Google Forms] Redirect breaks in a few ways with jQuery 1.8.2Actually, turns out not enqueueing Google’s version of jQuery breaks other things on my site :\
just letting you know. Since some people prefer to replace WordPress’ version of jQuery with a CDN version. (in this case, both are v. 1.8.2, which is trés bizzarre.)
Forum: Themes and Templates
In reply to: "Navigation-only" items in the menu (Thematic)Thanks.
I already searched there, but came up empty.
This applies to more than just Thematic, no?
Either way, I’ll go ask on the Thematic forums instead.