Monday, March 8, 2010

the jQueryUI Button

Yey! at last! the need for CSS-ing buttons is finally over!
jQueryUI new feature, the jquery Button.
It works with ThemeRoller and applicable on any input buttons, submit and links!
I used to have a problem customizing my buttons, but now it's finally answered!

How to use? Simple:
$('button').button(); // on all button elements
$('a').button(); // on all anchor elements

$('input:submit').button(); // on all submit button elements

And everything should work fine.

And that's only the basic!
You can use it on radio inputs & checkboxes, add it with icons, use it as a toolbar or even a split button! Totally awesome!

Read more about it here: JqueryButton and check out all its example demos! :D

0 comments:

Post a Comment