Page refresh x seconds after button click
and then after x seconds, i want the page to 'submit' and be processed by a php script
so basically there is a login form on my modal window.
the submit button I want to say 'Login' at all times, but then when the user clicks the button I want the text to change to 'Processing' and then after a certain amount of time want the form to be submitted like any other php form.
I have tried to explain my situation as much as I can.
I look forwad to hearing from you
Thanks in advance