Hi guys,
In my register page, I have a button that uses ajax to validate and send an email of confirmation. Trouble is the sendmail function takes about 3-4 seconds, and whilst it is sending the user may click the button twice or three times because it doesn't look like it is working.
What is the best way to handle this? Should I avoid using ajax and just do a simple form submit or is there a better way?
Ta.