Click to See Complete Forum and Search --> : IE Tons of Errors, Firefox None


Farel321
11-18-2008, 11:02 AM
For some reason IE keeps on picking up completely random errors which are syntacticly correct. My application/site is validated and still I get random errors from IE....

On the loading of the page IE gets an error:
Line: 179
Char: 9
Error: Expected Identifier, string or number
Code: 0

Here's the area where the error occurs:

<tr>
<td><label><strong>Meta Keywords</strong></label>
<p>
<input type="radio" name="optMKWs" id="Meta_Data_KWs_0" />
<label>Exact Keywords</label><br />
<input type="radio" name="optMKWs" id="Meta_Data_KWs_1" />
<label>Partial Keywords</label><br />
<input type="radio" name="optMKWs" id="Meta_Data_KWs_2" />
<label>None</label>
</p>
</td>
</tr> <!--Line 179*********ERROR OCCURS HERE********** -->
</table>
</div>
<div class='TabbedPanelsContent'>
<table width="424">
<tr>
<td width="247">
<label><strong>Keyword Density</strong></label>
<p>
<input type="radio" name="optKWDensity" id="Content_KWDensity_0" />
<label>Very High Density </label><br />
<input type="radio" name="optKWDensity" id="Content_KWDensity_1" />
<label>Normal Density</label><br />
<input type="radio" name="optKWDensity" id="Content_KWDensity_2" />
<label>Low Density</label><br />
</p> </td>


Also upon clicking some of my buttons which call javascript functions I get another error:

Line: 134
Char: 2
Error: Object Required
Code: 0

Here's the area where it occurs (no where near my button onclick event)

</table>
</div>
</div>
</td>
</tr>
</table>


<!-- Tabbed Pannels -->

<!--Line 134 ********* ERROR OCCURS HERE ******** -->
<div id="tbpStats" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" id="Meta">Meta Data</li>
<li class="TabbedPanelsTab" id="Content" >Content</li>
<li class="TabbedPanelsTab" id="Attributes">Attributes</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">


There are more of these errors on every click which are just ludicrous

Any help at all would be greatly appreciated!!

My Codes attached in a .txt. If it makes a difference my file is a .htm file

Shorts
11-18-2008, 12:08 PM
Would have to see the JavaScript files as thats where the problems are occuring.

Farel321
11-18-2008, 01:25 PM
The error resides in the javascript? Even if in the error it says it is in the .htm file? Interesting...

Here's both my main javascript files attached. Thanks by the way =D

Shorts
11-18-2008, 02:39 PM
Yeah, any alert like this


Line: 134
Char: 2
Error: Object Required
Code: 0


means its JavaScript related (thats the JS Debugger telling you theres an error). As far as HTML goes, you'll never see errors other then through a validator (most browsers always try to do something with HTML).

I'll try and take a look in a bit, but alas busy at work for the moment.

Farel321
11-19-2008, 10:42 AM
Really? That's definitely something I had no clue about!! You learn something new everyday =D.

Also take your time, it's a lot of code and definitely put your job before this haha. Thanks by the way for your help, this has been eating away at me for a while now cause I just can't figure it out!