Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JavaScript problem
Message
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Miscellaneous
Thread ID:
01300544
Message ID:
01300579
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform