wp_enqueue_script('thickbox');
Doesn't seem to do anything?
wp_enqueue_script('thickbox');
Doesn't seem to do anything?
I guess that means its working for everybody else? :)
I have to be missing something obvious here. I tried the following to no avail,
function add_scripts ()
{
wp_enqueue_script('jquery');
}
add_action('admin_print_scripts', 'add_scripts');
Even though I would suspect jquery would already be loaded on most admin pages, it doesn't seem to work. In order for my ajax to run, I have to manually add jquery with,
wp_enqueue_script('jquery-custom', '/wp-content/mu-plugins/accounts/lib/js/jquery.js', '', '1.3.2');
Same thing with jquery-ui-core. It seems none of the default handlers are working for me, and it makes me feel a touch handicapped. I know my parents drank, but seriously...
Hi,
I have the same problem with thickbox.
im having the same problem, I can't figure out what seems to be the issue
I am having the very same problem..
When I am looking at my source code, some handles get loaded just at the END of the Page which will prevent calls using these js to fail.
I am doing
function bp_enqueue_jquery() {
wp_enqueue_script( 'jquery');
wp_enqueue_script( 'thickbox' );
}
add_action( 'template_redirect', 'bp_enqueue_jquery' );
, jQuery gets loaded in the HEADER Section and Thickbox just before </body> which is too late.
This must be a bug.. the same applies to jquery-ui-dialog
Does anybody have a solution about this!?
Nobody?