On my site when a developer clicks on the start button to start his time, call a popup that handles the backend stuff then has a link that they click to close the window that refreshes the parent page so it now shows the stop time button.
How can I place focus on this link when that popup comes up so that they can just hit enter to close it? It will save the step of mousing over and clicking.
Here’s the code I call for refresh:
<script>
function refresh()
{
opener.location.reload()
window.close()
}
</script>
$value .= “Your time has Started. <p>
<a href=”javascript:refresh()”>Click Here to Close</a> (Please use link to close window)”;
Thank you for any help.