On my upload page I have this:
Code:<script>
function processUpload(){
//Copy value to hidden field
document.getElementById("hiddenAuthor").value=document.getElementById("textareaAuthor").value;
//Upload
ImageUploader.Send();
}
</script>
<form ID="Form1" name="Form1">
<input type="hidden" name="hiddenAuthor" id="Author">
</form>
Author:<br>
<textarea id="textareaAuthor" cols="50" rows="8">Alex</textarea>
<br>
<input type="button" value="Upload" onclick="processUpload();">
But no matter what i do I can not recive the data on the Upload.asp page I tryed with
Code:strAuthor = objUpload.Form("hiddenAuthor").Value
and 100 other combinations but nothing worked.
WHAT am I missing :)
========================================================
02/14/2008, Fedor
Additional info
You can use also AddField method instead of hidden input fields.
========================================================