Hi,

Take a look at this code.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<HTML> 
<HEAD> 
</HEAD> 
<script> 
	var vartxt="txt"; 
	s = "<%=request(" + vartxt + ")%>";
	alert(s); 
</script> 
<BODY> 
<form name=f1 action="test.asp"> 
<input type=text name=txt value="testvalue"> 
<input type=submit> 
</form> 
</BODY> 
</HTML>
Iam posting this form and trying to get the value thru a Javascript variable(vartxt). But it isn't working. How can I do this?

Thanks,
Pres.