By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,493 Members | 1,936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,493 IT Pros & Developers. It's quick & easy.

Form Submit on pressing Enter not working in IE

100+
P: 101
HI,

I have a form with one text field and one Submit button.
when after typing something inside the textbox and press enter it never submits the form, the page flickr and again loads but when i manually click the button it submits the page and go to next page.

This is happening only inside IE. I am using IE6 but it is working fine with Mozilla

Please help me on this.

Regards,
Jan 25 '08 #1
Share this Question
Share on Google+
4 Replies


100+
P: 101
Following is the code and problem occurring with IE6
Expand|Select|Wrap|Line Numbers
  1.  
  2. <div id="contentarea">
  3. <div class="box_j box_margin_right">
  4. <p class="transcrumb">Create a  Order</p>
  5. <h1>Enter Participant's Employer Name</h1>
  6. <p>Enter the employer for which this order applies.</p>
  7. <form id="clientForm" name="Client_info" method="post" action="/web/CretOrdrBeg.htm">
  8.     <hr />
  9.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  10.         <tbody>
  11.             <tr class="tblruledark">
  12.                 <th scope="row" width="18%">Employer Name</th>
  13.                 <td class="nobr" width="82%"><input id="chosEmplyr" name="chosEmplyr" class="txtbox40" tabindex="1" type="text" value=""/> 
  14.                     <input name="_eventId_submit"
  15.                     class="transbut smMargin nomargintop" id="cancel2" value="Continue"
  16.                     type="submit" tabindex="2"/> <input type="hidden" name="_flowExecutionKey"
  17.                     value="_cF9FE6AF5-C79F-26AD-DC8E-1BE4C565371F_k4172D027-8755-61C9-D7B3-6513F50A4650" /> 
  18.                         <input type="hidden" name="orderType" value="dro" />
  19.                      </td>
  20.             </tr>
  21.         </tbody>
  22.     </table>
  23. </form>
  24. <script type="text/javascript" language="JavaScript">
  25.     document.forms['Client_info'].elements['chosEmplyr'].focus();
  26. </script>
  27. </div>
Jan 26 '08 #3

100+
P: 101
Please help on this . . . .
Jan 27 '08 #4

100+
P: 101
Please Help On this . . .
Jan 28 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.