Tag Archives: jquery ui

WordPress: How to wp_enqueue_script jquery-ui / autocomplete

If you are trying to enqueue jquery’s autocomplete in wordpress, I’d suggest just using the remote version through google’s CDN / API site. You can deregister the jquery-ui with the first line of code, re-register it with the second line of code, and then activate it with the third line of code: wp_deregister_script(‘jquery-ui’); wp_register_script(‘jquery-ui’,’http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js’,array(‘jquery’)); wp_enqueue_script(‘jquery-ui’); You may also want to enqueue the styles using something like: wp_enqueue_style(‘jquery-style’, ‘http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css’); And more recently I found this project on GitHub which has some nice examples and code that may be more updated than the version included with wordpress: https://github.com/dyve/jquery-autocomplete

Posted in Web Development | Tagged , , , | 4 Comments

jQueryUI Position – A nice job on visual documentation

I love the documentation provided for jQueryUI’s position

Posted in Design, Web Development | Tagged , | Leave a comment

Jquery UI Date Picker

I was playing with the Jquery date picker module and for some reason it came up in Japanese by default! Totally cool.

Posted in Web Development | Tagged , | 1 Comment