I have a simple form like this one:
<form ENCTYPE="multipart/form-data" action="upload.php" method="POST">
<p>UPLOAD FILE: <input type="file" name="file1"> <br /></p>
<input type="submit" value="Upload">
<input type="hidden" name="email" id="email" value="">
</form>
I have to set the value of the hidden field to an email like "email@email.com". I can obtain this value from adding a querystring parameter by external iframe like:
<iframe name="email@email.com" src="index.html?email=email@email.com">
Ok. But how can I set value="" to value="email@email.com"? I know have to use javascript, but I dunno how to deal with the var.