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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have discovered the jQuery UI plugin which adds the
.buttonfunction. 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
.buttonwill do what you want toinput:button,a, anddivelements.