Take the 2-minute tour ×
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 http://codex.wordpress.org/Function_Reference/wp_enqueue_script. 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 http://codex.wordpress.org/Function_Reference/wp_register_script

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

Your Answer

 
discard

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.