>>OnClientClick='document.getElementByID("tblProInfo").style.visibility="hidden";document.getElementByID("lblProStat").style.visibility="hidden";' />
>>
>>Do you see what may be wrong here?
>>
>>I can, of course, do it on the Server instead, but I thought for this simple thing the client side code should work.
>>
>>BTW, one more small question - how to make hotkeys in ASP.NET ?
>
>I want to hide table and a label using JavaScript from the client. I'm sorry for being dumb, with the above code I can not make it to work.
>
>Does anyone have an idea?
>
>Thanks a lot in advance.
Watch your case since javascript is case sensitive.
It should be getElementById not getElementByID
Michael McLain