473,509 Members | 2,946 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form Submit on pressing Enter not working in IE

101 New Member
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
4 2308
drhowarddrfine
7,435 Recognized Expert Expert
How to get a quicker, more complete answer.
Jan 25 '08 #2
buntyindia
101 New Member
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
buntyindia
101 New Member
Please help on this . . . .
Jan 27 '08 #4
buntyindia
101 New Member
Please Help On this . . .
Jan 28 '08 #5

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

Similar topics

15
6543
by: M Smith | last post by:
I have a form I want to submit to itself. I want to be able to type in a list of numbers and submit the form and have that list show up on the same form under the text box I typed them into and...
3
1732
by: shortbackandsides.no | last post by:
I've been having trouble preventing users pressing Enter part way down a form so the incomplete form gets submitted. I came up with a possible solution - the code below seems to work in both...
1
10492
by: jrefactors | last post by:
When the user type something in text box, and press enter, it will submit the form data to test2.jsp, even without pressing submit form button. This is not what I want, I want to submit the form...
2
1587
by: Bratislav Jevtic | last post by:
hi, how to make some push button default on the form? for instance, I've got 2 buttons (Submit, Cancel). submit is on the left, cancel on the right side. on enter key pressed, cancel button is...
10
3006
by: Perry van Kuppeveld | last post by:
Hi, I have a problem with formatting a table including text fields wich can contain up to 255 chars. I need a table with 3 columns: - First column 50 % over the with a rowspan of the total...
3
2952
by: yuelinniao | last post by:
hi, I have got a simple way to make "textarea" support "auto-submit" when pressing Ctrl+Enter, and tested under both IE and Firefox. The common old method is like this: <form name=form2>...
7
2348
by: David T. Ashley | last post by:
Hi, For a web page, I want a SUBMIT button that commits the form data and a CANCEL button that goes to a different target (i.e. a different script). I haven't figured out how to do this,...
16
2836
by: browntown | last post by:
so I have this application I'm nearly finished with. The only thing the client has requested is the ability to submit the form by pressing "enter". I didn't think this would be a huge pain in the...
6
5066
by: Stanimir Stamenkov | last post by:
I have a form without a submit button like: <form name="form1" action="" onsubmit="alert('submit ' + this.name);"> <div> <label>Field 1: <input type="text" name="field1"...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.