I am trying to access the form elements in a jsp page using the name attribute. this form contains text,textarea and select fields. now in my javascript file i have to get these values.
$("input[name=first_name]").val()
By using this we can get only values of input type fields (for ex:text) and not and fields.
Please help me to resolve this.i want to use jquery code for this.