HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 3rd, 2000, 02:36 PM
ssvr6
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I'm having trouble when my users are submitting a form. While the confirmation screen is loading they get impatient and click on the submit button again. I have code in there to prevent them from double clicking on it but would rather disable the submit button all together if that's possible.
Any and all help would be appreciated.

Steve

Reply With Quote
  #2  
Old August 8th, 2000, 02:31 AM
rkmarcks rkmarcks is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 81 rkmarcks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to rkmarcks
You should be able to use:

form.button_name.disabled=true;

I know it works with checkboxes and radio buttons, but I've never used it with a graphical button. I have one source that lists disabled as a property, and another source that doesn't mention it.

However, this will not work in Netscape. (They did include it in 6.PR1). It is an IE attribute only. You'll probably have to use your existing solution for Netscape.

Russ

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by ssvr6:
I'm having trouble when my users are submitting a form. While the confirmation screen is loading they get impatient and click on the submit button again. I have code in there to prevent them from double clicking on it but would rather disable the submit button all together if that's possible.
Any and all help would be appreciated.

Steve
[/quote]


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Disabling a Submit Button as an Onclick Event


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway