jQuery UI: Dialog button styling

Posted by Peter Bridger on Stack Overflow See other posts from Stack Overflow or by Peter Bridger
Published on 2010-03-18T10:13:00Z Indexed on 2010/04/03 22:23 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

Is there an easy way to apply CSS/icons to the modal buttons on a jQuery UI modal dialog box?

If I include the HTML to display an icon with the button text, it shows the HTML as text rather than rendering the code.

I'm guessing I could write some jQuery to find the button and overwrite the HTML with what I want, but I'm hoping there's an easier more direct way.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui