Hi Guys
I have a form using PHP/ CSS/ HTML for updating customer details and then eMailing them the revisions. The form is posted with an 'Input: Type Image' which updates the database prepares a bespoke HTML email and sends it. My problem is this, the above process takes a couple of seconds before the user is sent to a confirmation page which gives the feeling that nothing has happened and the probability is the user may try to click the button again.
What I need is to display a Wait cursor when the button is clicked and then return to default just prior to the redirect.
I have looked at dozens of sites and none of the stuff that people swear on their grannies grave and is the best thing since sliced bread actually works, it is mainly links or active form areas.
So as a recap what I need is :-
'Click'-> 'Wait cursor' -> Do the hidden stuff -> 'Default cursor' -> 'Redirect'
Thanks in anticipation
I have a form using PHP/ CSS/ HTML for updating customer details and then eMailing them the revisions. The form is posted with an 'Input: Type Image' which updates the database prepares a bespoke HTML email and sends it. My problem is this, the above process takes a couple of seconds before the user is sent to a confirmation page which gives the feeling that nothing has happened and the probability is the user may try to click the button again.
What I need is to display a Wait cursor when the button is clicked and then return to default just prior to the redirect.
I have looked at dozens of sites and none of the stuff that people swear on their grannies grave and is the best thing since sliced bread actually works, it is mainly links or active form areas.
So as a recap what I need is :-
'Click'-> 'Wait cursor' -> Do the hidden stuff -> 'Default cursor' -> 'Redirect'
Thanks in anticipation
Comment