Demoed here: http://jsfiddle.net/dRtaR/2/
The label option of the Jquery UI button does not work.
My goal is to have a label on the button WITHOUT having to specify a </label> html tag.
Can I do this?
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.
Not with this jQueryUI method. From the
.button()overview tab:When you specify button on a checkbox or radio button it hides the input and styles the associated label.
Is there any reason you can’t just write out the label? If you don’t have access to the html you could write it out with jQuery. See this horrible example. It might give you an idea of where to look next.