I am looking for a java script function which will disable the submit button on first click. Aim is not to allow the user to click submit button twice till the next page is shown.
I am having a problem with users when the connection is slow and they click twice -it result in more than one data being created for the same code / date/ discount.
Any help will be appreciated.
I am having a problem with users when the connection is slow and they click twice -it result in more than one data being created for the same code / date/ discount.
Any help will be appreciated.