Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: jQuery Problems


joshasbury
Participant

@joshasbury

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!

Skip to toolbar