How can I capture a field name (not field value) with Javascript?
<p>I'm trying to find out how I can use javascript to capture the name of a field and assign the name to a variable. I've done a good amount of searching, but I can only find out how to capture the value of a field and not the name of the field itself.</p>

<p>For example, say I have a asp textbox named "ClientFName". I'd like to use javascript to capture the name of the textbox (ClientFName) and assign the name to a variable.</p>

<p>I'm moderately experienced with javascript but I haven't figured out a way to make this happen. Any help would be great!</p>
