Wouldn't it be simple enough to make it a dummy link, check a your submitted
flag, do the javascript for the image swap, set the submitted flag, and do a
form.submit()?
var subFlag=0;
function submitter(){
if(subFlag==0){
imageswap();
subFlag=1;
document.forms[0].submit()
} else {
return false;
}
}
Like that?
-----Original Message-----
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 9:58 AM
To: '[EMAIL PROTECTED]'
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.