I\'d like to get a script that can grab the user\'s user agent and prop it to an attribute.
I\'m making a website problems contact form and I usually need to know wh
document.getElementById('UserAgent').value = navigator.userAgent;
$('#UserAgent').val(navigator.userAgent);