Not precisely, they CAN click again, but it won't do anything...
John Andrichak IV
Web Programmer
Dannemiller Memorial Educational Foundation
----- Original Message -----
From: "Robert Everland III" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 11:25 PM
Subject: RE: (OT) Javascript Question
> Now will this make it so they can't click the sumit image again?
>
> Bob Everland
>
> -----Original Message-----
> From: John Andrichak IV [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 31, 2000 12:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: (OT) Javascript Question
>
>
> Why don't you check to see if the image has already changed? If it has...
> then don't change the image and cancel the form submission.
>
> Try something like:
>
> <form>
> <input name="whatever" type="image" src="my.img" onClick="return
> doChangeSubmit();">
> </form>
>
> with this JavaScript:
>
> <script language="JavaScript">
>
> var submitted = false;
>
> function doChangeSubmit() {
> if(!submitted) {
> submitted = true;
> --- insert image change stuff...
> }
> else return false;
> }
>
> </script>
>
> ----- Original Message -----
> From: "Robert Everland" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 31, 2000 8:58 AM
> Subject: OT: Javascript Question
>
>
> > I can't remember where or the name of the javascript forum off of
> > cf-talk but I figured I may as well as my question and then have someone
> > tell me where to do. I have a form button that is an image. I put some
> > javascript in there so that when I click on it, it changes the image.
What
> I
> > want to do now is make it so that image is not clickable that way no one
> can
> > keep clicking on submit. Anyone know how to do this, it can't be a href
> tag
> > becuase I have to pass form variables.
> >
> >
> > Robert Everland III
> > Web Developer
> > Dixon Ticonderoga
>
> --------------------------------------------------------------------------
> ----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> >
> >
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.