Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to use jquery-ui spinner in my plugin. I had googled it, but not found any referrence that can help me out. It is also not written in the docs Nor also only the word spinner. Is the current version of wordpress (3.8.1) include jquery ui spinner in its library? If so, how to use it on a plugin?

Best Regards :)

share|improve this question

1 Answer 1

Just found it here

Here is an example how to load it on a plugin:

function load_jquey_spinner() {
wp_enqueue_script( 'jquery-ui-spinner' );


add_action('wp_enqueue_scripts', 'load_jquey_spinner');
share|improve this answer
make sure, you also load jquery and jquery-ui-core –  Francisco Corrales Morales Feb 5 at 16:57
@FranciscoCorralesMorales - Typically when using core scripts there is no need to declare dependencies, as the scripts are pre-registered with them out of the box; the pre-registered script jquery-ui-spinner already has jquery-ui-core as a dependency, which in turn has jquery. The main idea of dependencies is for when you register/enqueue custom scripts. –  David Gard May 5 at 9:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.