Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#5029 closed bug (worksforme)

Enter key does not submit modal dialog form in IE with hidden submit input

Reported by: dennydaugherty Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


In IE6, IE7 & IE8: If you have a modal dialog with a form and a hidden submit button (<input type="submit" style="display:none;"/>), the form will not submit or give any response. I found that if the submit button is visible and in the dialog, it works.

This is currently reproducible in the demo on

As a workaround I used the following CSS to hide the submit button while keeping the enter key to submit working in IE

input.submit {
  background : white;
  float : right;
  height : 1px !important;
  margin-top : -20px;
  width : 1px !important;

Change History (3)

comment:1 Changed 13 years ago by Scott González

Milestone: TBD1.8

comment:2 Changed 11 years ago by Scott González

Resolution: worksforme
Status: newclosed

comment:3 Changed 11 years ago by fangspeen

I find that this still is a problem with IE 8 and jquery 1.6.4 + jquery ui 1.8.16

Note: See TracTickets for help on using tickets.