Reputation: 116433
So I've discovered the jQuery UI .button()
function which can style <button>
elements:
$("button").button();
This works very nicely. Is there something similar for <input>
, <div>
, or other elements?
Upvotes: 2
Views: 74
Reputation: 179274
You have discovered the jQuery UI plugin which adds the .button
function. There are many plugins available for jQuery. I can almost guarantee someone's written a plugin to do exactly what you want, but you haven't exactly described what it is that you want.
It's possible that .button
will do what you want to input:button
, a
, and div
elements.
Upvotes: 3