开发者

"magical" styling of HTML elements with jQuery

开发者 https://www.devze.com 2023-03-24 01:01 出处:网络
So I\'ve discovered the jQuery UI .button() function which can style <button> elements: $(\"button\").butto开发者_运维知识库n();

So I've discovered the jQuery UI .button() function which can style <button> elements:

$("button").butto开发者_运维知识库n();

This works very nicely. Is there something similar for <input>, <div>, or other elements?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消