devxlogo

June 9, 2005

Accessing Server Controls Using JavaScript

Suppose you have a Web server control called TextBox in your Web page: You can access this value in a couple ways using JavaScript: document.getElementById(”).value;ClientID – server control identifier generated