473,378 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 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 1450
16,027 Expert Mod 8TB
What errors do you get?

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

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

Similar topics

by: AK | last post by:
Hi, I have a medium sized app that I'm transferring to use curses. What happens is very very strange.. I am at my wits' ends. I worked with it all day yesterday and couldn't figure it out....
by: Guy | last post by:
I would like to calculate the time it takes to load a picture in tenths of a seconds. So I get the current time, load the image, and once loaded I get the current time again. I would like to...
by: Marc Violette | last post by:
<Reply-To: veejunk@sympatico.ca> Hello, I'm hoping someone can help me out here... I'm a beginner ASP.NET developper, and am trying to follow a series of exercises in the book entitled...
by: geo039 | last post by:
I tried to write a simple application that takes user input by text and time selected by date time picker. It displays the appt description in one list box and the time in another list box. I wrote...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.