I am trying to launch a timer window using the code below.
<form name="redirect" action="'.$url.'" method="post" onSubmit="timerWindow('.$timeremain.')">
When I click "submit" the popup window is created.
When I add,
I don't get a popup window.
Does anyone have a workaround for this, I really need the popup to show how much time remaining a user has.
If you are wondering why?
The user goes to the login page and logs in (at this point I don't know if the user has time remaining).
I have to query the database to find the time remaining for the user.
Then I need to automatically post to another server and launch a popup window showing their remaining time.
I'm wondering if at the login page I could use AJAX and do an onKeyDown on the submit button or would this be better as an onBlur on the user name.
I think there is still going to be a problem getting the timeremaining into this,
Thank you, any speculation or advice is greatly appreciated.