For hidden fields the following code will not work in firefox document.getElementById("AttachName").value = fname;
it should be document._frmUpload.AttachName.value = fname;
Here _frmUpload is the form name.
AttachName is field ID.
So better use the second one if you know the form name.
No comments:
Post a Comment