0 Replies Latest reply: Apr 17, 2013 10:00 PM by trent RSS

    Page Load D.A. shouldn't run until document is ready

    trent
      Should the page load D.A. fire not until the dom is ready? Or is this not necessarily the case.

      I'm running a page over a slow connection, so the event (true action: execute JS) is being executed before the page is ready to handle the code. I would think this event should not run until the DOM is ready.

      I have confirmed this by wrapping the code in document.ready, and it behaves as expected

      $(document).ready(runFunction);