Tried them both and they don't seem to be working, am I missing something?
add_action('admin_footer', 'jupload_scripts');
wp_register_script('jquery-ui', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js', array('jquery'), '1.8.6');
wp_enqueue_script( 'jquery-ui' );
}
wp_register_script()earlier. Split this between two functions. – kaiser May 14 '11 at 11:21