Article ID: 954084 - Last Review: August 12, 2008 - Revision: 1.0

You can write in a read-only pane on a Web page that uses DHTML in Internet Explorer 7

On This Page

Expand all | Collapse all

SYMPTOMS

In Windows Internet Explorer 7, you can write in a read-only pane on a Web page that uses Dynamic HTML (DHTML). This problem occurs when the following conditions are true:
  • You have a Web page that uses DHTML to dynamically hide or show text fields.
  • You have a hidden read-only text field that uses a text field that can be edited.
  • When you click the text field that can be edited, the read-only text field becomes visible.
Note This problem can be caused by any event on any control that makes the read-only field visible.

RESOLUTION

Security update information

To resolve this problem, install the most current cumulative security update for Internet Explorer. To install the most current updates, visit the following Microsoft Web site:
http://windowsupdate.microsoft.com (http://windowsupdate.microsoft.com)
For more technical information about the most current cumulative security update for Internet Explorer, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/current.aspx (http://www.microsoft.com/technet/security/current.aspx)

Note This update was first included in security update 953838 (MS08-045). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
953838  (http://support.microsoft.com/kb/953838/ ) MS08-045: Cumulative security update for Internet Explorer

WORKAROUND

To work around this problem, clear the "Do not save encrypted pages to disk" option.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

  1. Start Notepad, and then paste the following HTML code in a Notepad file:
    <html>
    <body>
    
    <table>
    	<tr>
    		<td>
    			<Input type='text' onfocusout="hiddenText.style.display='';"/>
    		</td>
    	</tr>
    	<tr>
    		<td id='hiddenText' style="display:none">my text</td>
    	</tr>
    	<tr>
    		<td>alter text</td>
    	</tr>
    	<tr>
    		<td>
    			<input type='text' />
    		</td>
    	</tr>
    </table>
    
    </body>
    </html>
    
  2. Save the file as Test1.html.
  3. Open the Test1.html file in Internet Explorer 7.
  4. Click the first text field.
  5. Click the second text field.
The pointer is now at the end of the hidden field that is after Alter Text. The field can be edited.

APPLIES TO
  • Windows Internet Explorer 7
Keywords: 
kbexpertiseadvanced kbqfe KB954084
 

Article Translations