[Javascript] js error
Håkan Magnusson
hakan at backbase.com
Thu Mar 18 09:20:14 CST 2004
It's always good to have a second pair of eyes when you run into
problems, your own might just be too tired to look hard enought. ;)
Regards,
H
Paul McGuire wrote:
> haha! of well lets hope that sorts it! What a plonker I can be!
> ----- Original Message -----
> From: "Håkan Magnusson" <hakan at backbase.com>
> To: "[JavaScript List]" <javascript at LaTech.edu>
> Sent: Thursday, March 18, 2004 1:55 PM
> Subject: Re: [Javascript] js error
>
>
>
>>You misspelled "visible" (visiable)
>>
>>:)
>>
>>Regards,
>>H
>>
>>Paul McGuire wrote:
>>
>>
>>>I use this script in my pages the asp parts just place in the relevent
>
> form
>
>>>name. they can be ignored as its not part of my error.
>>>
>>>When I run this the script is happy to hide the layer but then will not
>>>reshow it due to this error coming up.
>>>
>>>could not get the visibility property - insvalid argument
>>>
>>>what could be wrong? Its almost as if once the layer <div id=rangelayer>
>
> is
>
>>>hidden the script cant find it to show it again!
>>>
>>><script>
>>> var hiddenField = "yes"
>>> var showlayer = document.getElementById("rangelayer").style
>>> showlayer.visibility = "hidden";
>>>
>>> function hideshow(){
>>> if(hiddenField == "yes"){
>>> showlayer.visibility = "visiable";
>>> hiddenField = "no"
>>> }
>>> else{if(hiddenField == "no")
>>> {
>>> showlayer.visibility = "hidden";
>>> hiddenField = "yes"
>>> }
>>> }
>>> }
>>> </script>
>>>
>>>_______________________________________________
>>>Javascript mailing list
>>>Javascript at LaTech.edu
>>>https://lists.LaTech.edu/mailman/listinfo/javascript
>>>
>>>
>>
>>_______________________________________________
>>Javascript mailing list
>>Javascript at LaTech.edu
>>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
More information about the Javascript
mailing list