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
Original Q didn't say anything about jQuery. so
document.getElementById('UserAgent').value = navigator.userAgent;