Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JavaScript problem
Message
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP
Divers
Thread ID:
01300544
Message ID:
01300579
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform