Solved

IE reloads frame when not needed

Posted on 2002-06-20
4
168 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
Comment Utility
<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
Comment Utility
oops typo.
 <form onsubmit="return false;">
0
 

Author Comment

by:Levente
Comment Utility
Works! Thank you!
0
 
LVL 12

Expert Comment

by:lexxwern
Comment Utility
glad to help! thanks for the A!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now