Title: Javascript not loading with admin_print_scripts
Last modified: August 19, 2016

---

# Javascript not loading with admin_print_scripts

 *  Resolved [mercuryfenix](https://wordpress.org/support/users/mercuryfenix/)
 * (@mercuryfenix)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/javascript-not-loading-with-admin_print_scripts/)
 * As far as I can tell it was the upgrade to 2.8 that caused my script to stop 
   loading. Is there any new update that would prevent the following from working?
   Is there a new and/or improved way of doing this?
 *     ```
       add_action('admin_print_scripts', 'vizzer_js_init');
   
       function vizzer_js_init()
       {
       	wp_enqueue_script('vizzer', '/' . PLUGINDIR . '/vizzer/js/vizzer.js', array('jquery','jquery-ui-sortable', 'json2'));
       }
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [mercuryfenix](https://wordpress.org/support/users/mercuryfenix/)
 * (@mercuryfenix)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/javascript-not-loading-with-admin_print_scripts/#post-1104496)
 * i also tried using the admin_head action with no luck, any ideas?

Viewing 1 replies (of 1 total)

The topic ‘Javascript not loading with admin_print_scripts’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [wp_enqueue_script](https://wordpress.org/support/topic-tag/wp_enqueue_script/)

 * 1 reply
 * 1 participant
 * Last reply from: [mercuryfenix](https://wordpress.org/support/users/mercuryfenix/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/javascript-not-loading-with-admin_print_scripts/#post-1104496)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
