Solved

IE reloads frame when not needed

Posted on 2002-06-20
4
171 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

820 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