How about this? <input type="submit" value="Log In" onClick="if(this.value == 'Log In') this.form.submit(); this.disabled= 'true'; this.value = 'Please Wait...';">
I did not test this though... Russell ----- Original Message ----- From: "Larry Lyons" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Tuesday, September 13, 2005 1:17 PM Subject: Re: Click-once submit button techniques? > >-----Original Message----- >>From: Damien McKenna [mailto:[EMAIL PROTECTED] >>Sent: Monday, September 12, 2005 5:04 PM >>To: CF-Talk >>Subject: OT: Click-once submit button techniques? >> >>Anyone got a simple JS function to block multiple submit-button clicks? >>I've looked a few times but never found anything simple that worked and >>was cross-browser compatible. Thanks. >> >>-- > > Here's what I use: > > <input type="submit" value="Log In" onClick="if(this.value == 'Log In') > this.form.submit(); this.value = 'Please Wait...';"> > > hth, > > larry > -- > Larry C. Lyons > Web Analyst > BEI Resources > American Type Culture Collection > email: llyons(at)atcc(dot)org > tel: 703.365.2700.2678 > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218066 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

