how to add value in hidden field using jquery code example
Example 1: jquery create input hidden
$('<input>').attr({
type: 'hidden',
id: 'foo',
name: 'bar'
}).appendTo('form');
Example 2: get value of hidden field jquery
var hv = $('#h_v').val();