| re: Hide and Show
W d'Anjos said:
[color=blue]
>"Louise Woodward" <lwoodward@opaltelecom.co.uk> wrote in message
>news:<UW8nb.1587$F07.11390335@news-1.opaltelecom.net>...[color=green]
>> I have a table with 20 rows and I have a label on a form that I would like
>> to hide and show and this label can be on certain rows - this is row2
>>
>> I have tried using Form1.MinLabel2.style.display = ""; or "none" and it
>> comes up with the error Form1.MinLabel2.sytle is null or not an object
>>
>> Can I do this with a label or just input boxes ??
>> Why is this ??[/color][/color]
[color=blue]
>You should be able to do this with labels also. Please post your
>code, I think there is something wrong on the label definition.[/color]
No, you shouldn't be able to refer to labels as elements of a form.
In fact, you shouldn't be able to refer to a form simply as "Form1",
but some browsers will let you get away with that.
document.getElementById("MinLable2").style.display |