Bug: JS reload() in Iframe causes tabindex reset in parent frame.

G

Guest

(didn't know where to post this. If anyone can get this to the IE team...)

Description:
If a iframe does a window.location.reload() the parent frame's tabindex gets
lost (set to null?) and on the next tab key press, the focus will move to the
address bar.

Possible Workaround:
use <meta http-equiv='refresh' content=10> instead. (but this causes an
annoying 'click')

Sample HTMLto recreate:

--- FILE: IE_bug_base.html ---
<html>
<body>
<form>
<input type="text"><br />
<input type="text"><br />
</form>
<iframe src="IE_bug_iframe.html"></iframe>
</body>
</html>

--- FILE: IE_bug_iframe.html ---
<html>
<body onload="setTimeout('window.location.reload()', 10000)">
<script>
ds = new Date();
document.write(ds.toString());
</script>
</body>
</html>

--- to recreate ---
Create the above files in the same directory. Open IE_bug_base.html with
your browser. Click/Tab into to the first text box. Wait for the iframe to
reload (you will see the date/time change). Press the tab key, and the focus
will move to the address bar.
 
G

Galen

In Lance Rushing <Lance (e-mail address removed)> had this to say:

My reply is at the bottom of your sent message:
(didn't know where to post this. If anyone can get this to the IE
team...)
<snip>

http://support.microsoft.com/gp/contactbug

(It's a free phone call.)


Galen
--

"And that recommendation, with the exaggerated estimate of my ability
with which he prefaced it, was, if you will believe me, Watson, the
very first thing which ever made me feel that a profession might be
made out of what had up to that time been the merest hobby."

Sherlock Holmes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top