M
Mike Mueller
How can something seemingly so simple make me pull out so
much hair.....
I am using javascript to get browser info and screen
resolution. This information will be tacked into a form
using hidden fields. I am getting nothing for the values of
the hidden fields. All else is saving fine to the database.
script portions:
<form method="POST" action="--WEBBOT-SELF--" name="Info"
onSubmit="">
--snip--
<input type="hidden" name="Browser" value="">
<input type="hidden" name="FullBrower" value="">
<input type="hidden" name="Resolution" value="">
</form>
<script>
form.info.Browser.value=navigator.appName + " " +
parseInt(navigator.appVersion);
form.info.FullBrowser.value=window.navigator.userAgent;
form.info.Resolution.value=ScrnSz;
</script>
much hair.....
I am using javascript to get browser info and screen
resolution. This information will be tacked into a form
using hidden fields. I am getting nothing for the values of
the hidden fields. All else is saving fine to the database.
script portions:
<form method="POST" action="--WEBBOT-SELF--" name="Info"
onSubmit="">
--snip--
<input type="hidden" name="Browser" value="">
<input type="hidden" name="FullBrower" value="">
<input type="hidden" name="Resolution" value="">
</form>
<script>
form.info.Browser.value=navigator.appName + " " +
parseInt(navigator.appVersion);
form.info.FullBrowser.value=window.navigator.userAgent;
form.info.Resolution.value=ScrnSz;
</script>