get value of element by id in jquery code example
Example 1: jquery this value
$( "input" )
var value = $( this ).val();
Example 2: get value by id in jquery
//Get
var bla = $('#txt_name').val();
//Set
$('#txt_name').val(bla);
$( "input" )
var value = $( this ).val();
//Get
var bla = $('#txt_name').val();
//Set
$('#txt_name').val(bla);