Closed
Bug 299672
Opened 19 years ago
Closed 19 years ago
Calling the Focus method on new dynamicly generated pages causes the field to not allow input.
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 299673
People
(Reporter: thegame_911, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Use the following example. Change the dropdown value to trigger a new window. <html> <head> <title></title> <script language="javascript"> function OpenWindow() { var popup = window.open("","Test"); var output = "<html>"; output+="<body>"; output+="<form name = 'myForm'>" output+="<INPUT id='myId' type='text' name='myText'>"; output+="</body>"; output+="</form>" output+="<html>"; popup.document.open(); popup.document.write(output); popup.document.close(); var e = popup.document.getElementById('myId'); popup.focus(); e.focus(); } </script> </head> <body> <SELECT id="Select1" name="Select1" onchange="OpenWindow()"> <OPTION selected>option1</OPTION> <OPTION>option2</OPTION> </SELECT> <INPUT id="Text1" type="text" name="Text1" onchange="OpenWindow()"> <INPUT id="Text2" type="text" name="Text2"> </body> </html> Reproducible: Always Steps to Reproduce: 1. Use the example in the details window. Change the dropdown from option1 to option2. 2. Try to enter data in the new window that appears. Actual Results: The new input field does not allow data. Expected Results: The new input field should have allowed data.
Comment 1•19 years ago
|
||
*** Bug 299673 has been marked as a duplicate of this bug. ***
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 299673 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•