Solved

IE reloads frame when not needed

Posted on 2002-06-20
4
170 Views
Last Modified: 2010-04-09
I've got simple form with a text box. I enter some text in the text box and press the Enter button, but IE reloads the whole frame. Why? How can I avoid this reload? (I have a javascript which handles when user presses enter, but I left it out from this sample to make things easier.)

<form>
Input Text:
<input type="text" name="textentry" >
<br>
<select size="8">
   <option>one
   <option>two
   <option>three
</select>
</form>

Thank you for your help,
Levente
0
Comment
Question by:Levente
  • 3
4 Comments
 
LVL 12

Expert Comment

by:lexxwern
ID: 7095340
<form onsubmit="return flase;">
Input Text:
<input type="text" name="textentry" >
<br>
<select size="8">
  <option>one
  <option>two
  <option>three
</select>
</form>



please try this.
0
 
LVL 12

Accepted Solution

by:
lexxwern earned 200 total points
ID: 7095341
oops typo.
 <form onsubmit="return false;">
0
 

Author Comment

by:Levente
ID: 7095392
Works! Thank you!
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7095530
glad to help! thanks for the A!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question