jQuery buat input tersembunyi

$('<input>').attr({
    type: 'hidden',
    id: 'foo',
    name: 'bar'
}).appendTo('form');
LemonzDEV