I have the following code in my HTML file. It works in IE, but in Firefox I get the following error when I place my cursor into the input field called namesrch.
uncaught exception: Permission denied to get property HTMLDivElement.parentNode
<h2>Notifications</h2>
<table cellspacing="0" cellpadding="3" id="tbtonotify" class="basic-table">
<tr><td colspan='2'><label for='namesrch'><b>Name: </b></label>
<INPUT TYPE='text' NAME='namesrch' ID='namesrch' VALUE='' SIZE='25'>
<span class='button-blue'><INPUT
TYPE='BUTTON' onClick='zBPLookup(this.fo
rm, "ADDIssue")'
NAME='bplook' ID='bplook' value='Search Bluepages'/></span></td><t
d> </
td>
</tr>
<tr valign='top' align='left'>
<td colspan='2' align='left' valign='top'><b>Search Results:</b><small>
(Click checkbox to add or remove people from notifications)</small><br >
<div id='BPdynarea' style='border: 1px solid; float: left; height: 180px;
border-color: blue; width: 480px; overflow: auto'>
</div>
</td>
<td> </td>
</tr>
<tr>
<td align='left' valign='top' colspan='3'>
<small>To remove names: Search, then Check/Uncheck the TO or CC
box until the name is removed.</small></td>
</tr>
<tr>
<td align="left" valign="top">
<b>TO:</b><br />
<div id="TOlist" style="overflow: auto;
font-size: 10px;
border: 1px solid;
height: 50px;
min-height: 50px;
width: 240px;
min-width: 240px;
border-color: blue;
text-align: left">
</div>
</td>
<td align="left" valign="top">
<b>CC:</b><br />
<div id="CClist" style="overflow: auto;
font-size: 10px;
border: 1px solid;
height: 50px;
min-height: 50px;
width: 240px;
min-width: 240px;
border-color: blue;
text-align: left">
</div>
</td>
<td> </td>
</tr>
<tr>
<td align="left" valign="top" colspan="3">
<input type="hidden" name="TOtext" id="TOtext" value="" maxlength="11000">
<input type="hidden" name="CCtext" id="CCtext" value="" maxlength="11000">
</tr>
</table>
I can provide my javascript associated with this too if needed. However, like I said it only seems to occur when I place my cursor on the INPUT field and ONLY in Firefox, not IE.
Start Free Trial