Skip to main content

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

http://jsfiddle.net/nxatF/

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

Attachments (0)
Change History (3)

Changed June 02, 2010 12:08PM UTC by rdworth comment:1

resolution: → wontfix
status: newclosed

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.

Changed June 02, 2010 12:08PM UTC by rdworth comment:2

component: ui.coreui.button

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted