Accessing elements of form inside javascript
-
How can i Accessing elements of a form inside javascript. I want to change the vissible properties of some grid controls inside a javascript.. Please any one help me in this Thanks & Regards, Uma Shanker.K
-
How can i Accessing elements of a form inside javascript. I want to change the vissible properties of some grid controls inside a javascript.. Please any one help me in this Thanks & Regards, Uma Shanker.K
Your .NET controls are given names that are different to the names you give them on the server side. So you need to add script like this: var myControlId = '<%=myControl.ClientID%>'; Then you can write code that uses document.getElementById with the myControlId variable, and work from there.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )