$(function() { $('#contacts').append('<input type="hidden" name="browser" value="'+navigator.userAgent+'"><input type="hidden" name="date" value="'+new Date()+'">') });