467,879 Members | 1,081 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,879 developers. It's quick & easy.

Form Submit on pressing Enter not working in IE

100+
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
  • viewed: 2159
Share:
4 Replies
100+
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+
Please help on this . . . .
Jan 27 '08 #4
100+
Please Help On this . . .
Jan 28 '08 #5

Post your reply

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

Similar topics

3 posts views Thread by shortbackandsides.no | last post: by
1 post views Thread by jrefactors | last post: by
2 posts views Thread by Bratislav Jevtic | last post: by
7 posts views Thread by David T. Ashley | last post: by
6 posts views Thread by Stanimir Stamenkov | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.