At 4:34 PM -0400 6/11/06, Lowell Allen wrote:
On Jun 11, 2006, at 2:02 PM, tedd wrote:
At 5:46 PM +0100 6/11/06, Stut wrote:
tedd wrote:
At 4:35 PM +0100 6/11/06, Stut wrote:
The form, with onsubmit=return sndReq(). sndReq does the AJAX image
thing (although I don't know why you're using AJAX
On Jun 12, 2006, at 8:02 AM, tedd wrote:
[snip]
img id=waitimg src=/whatever.gif style=display: none; /
Form...
form ...
onsubmit=document.getElementById('waitimg').style.display =
'block'; return true;
Bingo!
That works slick ! While I *think* I know css, it would have taken
me a long
Hi gang:
What I am trying to do is after the user has selected an image to upload, I
want to display a gif while a file is being uploaded. (The gif can be seen at:
http://xn--ovg.com/a4.php )
I am trying to use ajax to accomplish this.
The following statement works great and does what I want:
tedd wrote:
I am trying to use ajax to accomplish this.
The following statement works great and does what I want:
input type=submit value=Submit onClick=javascript:sndReq()
However, when I place the statement within a form, like thus --
form method=post enctype=multipart/form-data input
At 3:21 PM +0100 6/11/06, Stut wrote:
tedd wrote:
I am trying to use ajax to accomplish this.
The following statement works great and does what I want:
input type=submit value=Submit onClick=javascript:sndReq()
However, when I place the statement within a form, like thus --
form method=post
tedd wrote:
At 3:21 PM +0100 6/11/06, Stut wrote:
The form is being submitted to the current URL which will stop any
javascript executing at the time. What you need to do is prevent
the form from being submitted, or control when it is submitted.
Instead of using the onclick attribute on the
At 4:35 PM +0100 6/11/06, Stut wrote:
-snip-
Maybe I'm not understanding what you're trying to do. I think you're trying to
show an animated GIF before starting the file upload. Is that right? If it is,
this is what you need to do...
That's exactly what I'm trying to do.
The form, with
tedd wrote:
At 4:35 PM +0100 6/11/06, Stut wrote:
The form, with onsubmit=return sndReq(). sndReq does the AJAX
image thing (although I don't know why you're using AJAX here,
I'm using ajax because it's a method to inject an image in a DOM div
without having to reload the current page.
All
At 5:46 PM +0100 6/11/06, Stut wrote:
tedd wrote:
At 4:35 PM +0100 6/11/06, Stut wrote:
The form, with onsubmit=return sndReq(). sndReq does the AJAX image thing
(although I don't know why you're using AJAX here,
I'm using ajax because it's a method to inject an image in a DOM div without
On Jun 11, 2006, at 2:02 PM, tedd wrote:
At 5:46 PM +0100 6/11/06, Stut wrote:
tedd wrote:
At 4:35 PM +0100 6/11/06, Stut wrote:
The form, with onsubmit=return sndReq(). sndReq does the AJAX
image thing (although I don't know why you're using AJAX here,
I'm using ajax because it's a method
10 matches
Mail list logo