Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Michael Griffith

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Gathering html id's from asp.net

The basic idea here is to pull the id's from asp.net so that it can be used in a javascript environment.

<input id="GetLocation" type="button" onclick="getLocation(<%=tbStreet.clientID %>.value + ' ' + <%=tbCity.clientID %>.value + ' ' + <%=tbState.clientID %>.value + ' ' + <%=tbZip.clientID %>.value,'<%=lblLocation.clientID %>');" value="Get Location" />
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS