...

View Full Version : Unknown Runtime Error (innerHTML)



rswyatt
06-14-2010, 05:26 PM
So...

I'm using an AJAX query to replace the innerHTML for an element. On the "front end" of the site, this method works fine in IE7/8... For some reason - in the administrative back end - not so much. I'm not sure why.

I get an "Unknown runtime error" in IE7/8 - though works fine in Chrome/FireFox...

I'm posting the HTML for the page I'm having problems with and also the HTML that is being returned by the AJAX query.

I'm beating my head against a wall here. Any help would be great! :-)

I've attached the HTML for the page in question...

AJAX query returns:


<form name="domains" id="domains">
<table border="1" cellpadding="0" cellspacing="0" width="500" id="domain_table">

<tr style="font-weight: bold; font-size: 14px; text-align: center; height: 25px; background: #214232; color: #fff; "><td>Practice Area</td><td>City</td><td>Excellent Keyword Domain Name</td><td>Select</td></tr><tr style="background: #fff;"><td colspan="4">&nbsp;</td></tr> <tr bgcolor="#d6e3bc"><td align="left" colspan="4"><b>Bankruptcy</b></td></tr>
<tr bgcolor="#d6e3bc"><td>&nbsp;</td><td align="left">Anchorage</td><td align="left">AnchorageBankruptcyAttorney.net</td><td align="center"><input type="checkbox" name="seldomains[]" id="domain_37" value="37-1" /></td></tr>
<tr style="background: #fff;"><td colspan="4">&nbsp;</td></tr>
<tr bgcolor="#d6e3bc"><td align="left" colspan="4"><b>Criminal</b></td></tr>
<tr bgcolor="#d6e3bc"><td>&nbsp;</td><td align="left">Anchorage</td><td align="left">AnchorageCriminalAttorney.net</td><td align="center"><input type="checkbox" name="seldomains[]" id="domain_38" value="38-1" /></td></tr>
<tr style="background: #fff;"><td colspan="4">&nbsp;</td></tr>
<tr bgcolor="#d6e3bc"><td align="left" colspan="4"><b>Divorce</b></td></tr>
<tr bgcolor="#d6e3bc"><td>&nbsp;</td><td align="left">Anchorage</td><td align="left">AnchorageDivorceAttorney.net</td><td align="center"><input type="checkbox" name="seldomains[]" id="domain_39" value="39-1" /></td></tr>
<tr style="background: #fff;"><td colspan="4">&nbsp;</td></tr>
<tr bgcolor="#d6e3bc"><td align="left" colspan="4"><b>Dui</b></td></tr>
<tr bgcolor="#d6e3bc"><td>&nbsp;</td><td align="left">Anchorage</td><td align="left">AnchorageDuiAttorney.net</td><td align="center"><input type="checkbox" name="seldomains[]" id="domain_40" value="40-1" /></td></tr>
<tr style="background: #fff;"><td colspan="4">&nbsp;</td></tr>
<tr bgcolor="#d6e3bc"><td align="left" colspan="4"><b>Personal Injury</b></td></tr>
<tr bgcolor="#d6e3bc"><td>&nbsp;</td><td align="left">Anchorage</td><td align="left">AnchoragePersonalInjuryAttorney.net</td><td align="center"><input type="checkbox" name="seldomains[]" id="domain_41" value="41-1" /></td></tr>
<tr style="background: #fff;"><td colspan="4">&nbsp;</td></tr>
<tr bgcolor="#d6e3bc"><td align="left" colspan="4"><b>Trial</b></td></tr>
<tr bgcolor="#d6e3bc"><td>&nbsp;</td><td align="left">Anchorage</td><td align="left">AnchorageTrialAttorney.net</td><td align="center"><input type="checkbox" name="seldomains[]" id="domain_42" value="42-1" /></td></tr>
<tr style="background: #fff;"><td colspan="4">&nbsp;</td></tr>
</table>
<table border='0' width='500'>
<tr><td align='right'><input type=button onClick='addToProduct();' value='Update Product' /></td></tr>
</table></form>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum