Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

IE reloads frame when not needed

Posted on 2002-06-20
4
Medium Priority
?
176 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 800 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

927 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