Jump to content
Sign in to follow this  
Darkness

Submit Button- Cannot click twice

Recommended Posts

Hello,Another question... Third tonight. I'm feeling like a n00b. Heh..Okay, I've seen many sites that, when you click the Submit button (such as, when you click the Submit button while registering), you can't click it twice. This could prevent many troubles.Any clue how to do this?*Not sure if this is HTML.Thanks.

Share this post


Link to post
Share on other sites

Hi.. Yes, you can do that via "disabled"attribute of button Check all validation via javascript function on event of form's submit buttons.. Once all validations are true then first disable it via javascript in function otherwise not at that time alert with proper error message..Regards,Vijay

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...