(':input').val() not specific class code example Example: jquery this value $( "input" ) var value = $( this ).val();