M
Mike
Hello,
I am trying to access the text in the file input field.
This is not working:
The function:
function post_value(){
opener.document.TestForm.parentform.value =
document.childform.fileinput.value;
self.close();
}
This is the form:
<form action="" method="get" enctype="application/x-www-form-
urlencoded" name="childform">
<input name="fileinput" type="file" />
<input type="submit" name="UploadandClose" id="UploadandClose"
value="UploadandClose" onclick="post_value();" />
</form>
Thanks
Mike
I am trying to access the text in the file input field.
This is not working:
The function:
function post_value(){
opener.document.TestForm.parentform.value =
document.childform.fileinput.value;
self.close();
}
This is the form:
<form action="" method="get" enctype="application/x-www-form-
urlencoded" name="childform">
<input name="fileinput" type="file" />
<input type="submit" name="UploadandClose" id="UploadandClose"
value="UploadandClose" onclick="post_value();" />
</form>
Thanks
Mike