Hi
I have a requirement, that I’m sure is simple but it’s foxing me! I have a number of scripts that run in a page head The result is returned to the variable “result”. This all works fine, but I need to pass it now as a form value. Ive tried variants of the example ... but the form seems unable to see the variable. Can you help? Thanks in advance.
<script language="javascript">
var result
if (isinstalled == 2)
{
if (theversion)
result = theversion;
else
// there is a version but can't tell
result = "1";
}
else result= "0";
</script>
</HEAD>
<BODY>
<FORM NAME="flashVer" method="get">
<input name='theResult' type='hidden' value='result'>
<input type="submit">
</FORM>
</BODY>
</HTML>
I have a requirement, that I’m sure is simple but it’s foxing me! I have a number of scripts that run in a page head The result is returned to the variable “result”. This all works fine, but I need to pass it now as a form value. Ive tried variants of the example ... but the form seems unable to see the variable. Can you help? Thanks in advance.
<script language="javascript">
var result
if (isinstalled == 2)
{
if (theversion)
result = theversion;
else
// there is a version but can't tell
result = "1";
}
else result= "0";
</script>
</HEAD>
<BODY>
<FORM NAME="flashVer" method="get">
<input name='theResult' type='hidden' value='result'>
<input type="submit">
</FORM>
</BODY>
</HTML>