Is this possible?
by "Beauford.2002" <beauford.2002(at)rogers.com>
|
Date: |
Tue, 18 Mar 2003 20:38:45 -0500 |
To: |
"HWG Basics" <hwg-basics(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Hi,
I have this javascript that gets a users screen resolution - is it possible
to use the output in a form as a hidden value so it can be later be written
to a database, and if so how?
TIA
<Script language = JavaScript>
UserWidth = window.screen.width
UserHeight = window.screen.height
UserWidth = "Screen Width = " + UserWidth
UserHeight = " Screen Height = " + UserHeight
document.write(UserWidth + UserHeight)
</Script>
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA