How to include an icon on a Stripes button using jQuery
I am using Stripes and jQuery along with the generated jQuery UI theme. I want to insert <stripes:form>
in a div and then style <stripes:button>
to dispatch with one of the icons from the theme.
This works: (but obviously doesn't bind to Stripes)
<button id="save" class="ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-check"></span>
</button>
This does not work:
<stripes:button name="save" class="ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-check"></span>
</stripes:button>
The malfunction is giving me a nicely styled button with a span tag as text.
Any suggestions? Is it possible?
+2
source to share
1 answer