Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pass control id to javascript function

<asp:button id="btnTest" runat="server" Text="Click Me" 
            onclientclick="enableControl('<%= lblTest.ClientID %>') />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pass #control #id #javascript #function
ADD COMMENT
Topic
Name
8+8 =