469,332 Members | 5,869 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,332 developers. It's quick & easy.

Second time not recognizing as a function

i am using the following code for uploading
[HTML]<div id="iframe" name="iframe" style="width:850px; height:120px;">
<iframe name="attach_frame" id="attach_frame" src="" style="width:850px; height:120px;" frameborder="0"></iframe>

[HTML]<div class="form-item" name="_Confirm_buttons" id="_Confirm_buttons">
<input type="button" value="Add media" class="form-submit" onclick="window.parent.attach_frame.upload();" target="attach_frame">

when i upload first time it is recognizing as function and uploading successfully, the moment when i try to upload second time it is not recognizing as a function in firefox, but it is working fine in IE. The code that is not recognizing is :: window.parent.attach_frame.upload();
in the above code attach_frame is the iframe name.
plz can any one help me in solving this problem
Sep 17 '07 #1
1 1241
16,027 Expert Mod 8TB
What errors do you get?

Can you show the code for the upload?
Sep 18 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.