I have a situation like there will be one hidden div
<div id="div_id">
<input type="text" id="input_id" name="input_name">
</div
I have hidden the div using hide() function using jquery
$('#div_id').hide();
Now my problem is how can I add values to above input field and display the values when I show the div.
$(document).ready(function(){
$("select#po_pos").change(function()
{
var stateId = $("#po_pos option:selected").val();
$('#input_id').val($('#').val() + stateId);
}
});
can anyone help on this please??thanks