How do you add an icon (floated to the left on the title bar, like windows in Windows) to a jQuery UI Dialog?
Share
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.
I haven’t tried it, but my suspicion is that you could just set raw HTML in the
.titleoption and it would render correctly.EDIT: I made a small jsFiddle (http://jsfiddle.net/sWs3N/) that shows this working. There is no style on the dialog, but if you look at the raw HTML you can see the html in the title.