Hi,
I'm trying to make an object (file input) on one form = a file input on another form.
However when I make object1 = object2 I get the following error..
what am I doing wrong?
and the form objects are as follows..
They are both the same object types, whay can't I assign one to the other?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
I'm trying to make an object (file input) on one form = a file input on another form.
However when I make object1 = object2 I get the following error..
Wrong number of arguments or invalid property assignment
what am I doing wrong?
Code:
frm = document.getElementById('comp_visit_form');
parent.file_frame.document.getElementById('file_report') = frm.report;
and the form objects are as follows..
Code:
<input type="file" name="file_report" id="file_report" size="50" />
<input type="file" name="report" id="report" size="50" />
They are both the same object types, whay can't I assign one to the other?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts