Any idea why this is happening?


I am trying to get the CSS class (which is "pause3") and I get it twice!
on load pageHope this helps. Of course, I may not be understanding your issue completely, but the above may still be useful to you or others.
onFirstIdle( name of self, "trigger", 10000 ); discard return value;
Comment: Move all the on load page actions to the trigger event of this page.
The above function will load the page, detect idle + 10000ms, then fire the trigger event.
Point: Check whether the page loaded by pgGotoURL() gets loaded twice.
This should help you narrow down where the event duplication is originating.
Comment: It is good practice to make discretionary use of onFirstIdle() when loading multiple HTML pages.
This helps to keep tasks in proper sequence when complex applications are loading content.
Users browsing this forum: No registered users and 4 guests