Forum Replies Created
-
Hi Trent and RamsayB –
I’m looking to do the same thing. How’s this looking?
….Ahhhh…. <slaps self on forehead>….I got this working. My theme was including another version of jQuery in the header which was causing the conflict. I commented out the line, and everything is working as planned.
Thanks for your help!
Thanks, PerS. This is strange. I am adding the jQuery as part of a page template in order to generate a customized form. In order to debug, I went ahead and removed all of my jQuery calls, but the error still remains.
I have added a call to a test script which simply generates an alert on document.ready but it doesn’t get called because of the .livequery error.
Here is what I have loading:
‘<?php wp_enqueue_script(‘jquery-ui-core’); ?>
<?php wp_enqueue_script(‘ui.datepicker’, get_stylesheet_directory_uri() . ‘/library/custom/js/1.5.3/ui/ui.datepicker.js’, array(‘jquery’), 0.1); ?>
<?php wp_enqueue_script(‘council-contact-intake’, get_stylesheet_directory_uri() . ‘/library/custom/js/council-contact-intake.js’, array(‘jquery’), 0.1); ?>
<?php wp_enqueue_script(‘autotab’, get_stylesheet_directory_uri() . ‘/library/custom/js/autotab.js’, array(‘jquery’), 0.1); ?>’
Most of my jQuery is using the UI libs for showing/hiding stuff based on what the user is doing on the form. What’s the best way to do this to ensure that I don’t nuke BP? With BuddyPress installed, what’s the best practice for me handling my jQuery needs?
Thanks!