• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Run Time Error on this board

  • Thread starter Thread starter Karl1
  • Start date Start date
K

Karl1

Guest
Every time I open a thread on this board I get a run time error line 30 object required.
 
Re : Object Error

Re : Object Error

Simple JS bug.

They need to change the showEl method to

function showEl(name,s)
{
if (document.getElementById)
&nbsp &nbsp &nbsp &nbsp {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp var el = document.getElementById(name);
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp if (el != null)
&nbsp &nbsp &nbsp &nbsp el.style.display = (s)?"":"none";
&nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp }
}

Checking that the element actually exists before trying to tweek its display style property.
 
or..

or..

you could switch off script debuggin in your browser:

tools>internet options>advanced> disable script debugging
 
Re: or..

Re: or..

hmm..

I'm feeling left out here - I don't see any js errors and I still have js debugging turned on. (IE6 here and 5.summat at the orifice)

what am I doing wrong ?

oh woe woe...
 

Advertisers

Back
Top