Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to avoid duplicated orders?

    Hi Friends

    I have designed a web page for issuing complains order but the real problem comes from the users, when the user issues a new order and the same time the browser is very slow the user clicks again for the same order becuase he thinks his order is not being issued.

    I need to hide the button untail the complaints are completed successfuly?

    How is it possible to be carried out?

  2. #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,963
    Thanks
    164
    Thanked 2,236 Times in 2,223 Posts
    You could disable the button in the onclick event like
    Code:
    <input type="submit" value="Submit" onclick="this.disabled=true;">
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


 

Posting Permissions

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