Randomblue
Randomblue

Reputation: 116433

"magical" styling of HTML elements with jQuery

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

Answers (1)

zzzzBov
zzzzBov

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

Related Questions