Is it possible to select a form element using it's name attribute?
For example if I had something like this:
<input type="text" name="my_element" />
How would I go about setting a javascript variable to the value of this input?
var name_val = $(input[name='my_element']).val();
?