Form Variables
Hey,
Anyone know if you can pass variables within a form to an e-mail body?
This is more or less what I have codewise:
<form name ="form1">
<BR>
<input type ="text" name ="yourname"><BR>
<input type ="button" name ="passtobody" value ="Pass to Body" onclick ="pass_variable_to_body()">
</form>
<script language ="javascript">
function pass_variable_to_body(){
var bodyvar=document.form1.passtobody.value
location.href="mailto:me@mydomain.com&subject=What ever&body=howthehelldo I get the value of the variable called bodyvar to appear here"
</script>
__________________
\'sync\' <cr>
The name specified is not recognized as an internal or external command, operable program or batch file.
|