471,892 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,892 software developers and data experts.

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 1343
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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.