Good morning guys
I'm trying to use two jquery functions and nothing happens . Those functions are : moveTo and resizeTo . The objective of using this is to re-open the browser when the status of my object changes to guarantee that the user will notice that on real time . To test those functions , I tried this :
setInterval(function loadPage() {
window.moveTo(0, 0);
window.resizeTo(screen.availWidth, screen.availHeight);
window.focus();
}(), 5000);
Doing this, nothing happens . But I tried to insert an alert before using the window.moveBy and with this the function works . I really didn't understand why and I don't wanna use alert to show a message to the user . I'll use jquery ui dialog to show this message .
Is there any other way to do that ?