www.webdeveloper.com
Results 1 to 3 of 3

Thread: avoid clicking submit button more than once

  1. #1
    Join Date
    Mar 2009
    Posts
    3

    avoid clicking submit button more than once

    Hi All,
    I have a requirement as below:

    I need to avoid clicking submit button on login screen more than once


    The problem is like this
    1. user presented with login screen which has user, passwd text boxes and submit button
    2. on submit, blank screen or the submit button should disappear so that user cant click submit button again.


    Can anyone please let me know how can we do this using javascript or some other way.


    Best Regards,
    Pavan

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Code:
    <form action="foobar.htm" onsubmit="this.submitButtonName.disabled=true;" name="form1">

  3. #3
    Join Date
    Mar 2009
    Posts
    3
    Thanks for prompt reply. I could solve the submit problem, iam looking at action part for submit.

    thanks again.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles