V
Victor
Hi everybody!
I am experiencing a strange - at least for me - phenomen.
I have a func containing the following code :
alert (document.forms['photoUpload'].elements['photo_1'].value);
// document.forms['photoUpload'].submit();
document.photoUpload.submit();
This code works perfectly in the FF, but not in the IE. The alert
outputs the proper value of the element photo_1 and then the line with
submit() produces [objectError] - checked by means of try-catch and
displayed with alert(e) in the catch-block. This concerns the both
lines with the submit().
What could be a cause for this problem?
Victor
I am experiencing a strange - at least for me - phenomen.
I have a func containing the following code :
alert (document.forms['photoUpload'].elements['photo_1'].value);
// document.forms['photoUpload'].submit();
document.photoUpload.submit();
This code works perfectly in the FF, but not in the IE. The alert
outputs the proper value of the element photo_1 and then the line with
submit() produces [objectError] - checked by means of try-catch and
displayed with alert(e) in the catch-block. This concerns the both
lines with the submit().
What could be a cause for this problem?
Victor