Search and Top Navigation
#5683 closed bug (wontfix)
Opened June 02, 2010 09:00AM UTC
Closed June 02, 2010 12:08PM UTC
Last modified October 11, 2012 09:15PM UTC
icons don't work on input type submit
Reported by: | klawd | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.button | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
please see the above fiddle or use this code to see the issue:
<input type="submit" id="foo" name="foo" value="foo"/> <button id="bar">bar</button> var options={"icons":{"primary":"ui-icon-disk"}}; $('#foo').button(options); $('#bar').button(options);
the button will have the icon, the input type submit will not
See documentation http://docs.jquery.com/UI/Button#overview "When using an input of type button, submit or reset, support is limited to plain text labels with no icons."
This is a browser limitation.