Saturday, June 28, 2014

How to check AMX page is fully loaded or not

Sometimes you might requires to manipulate the HTML elements after the page is fully loaded. In HTML file it an be checked using window.onload or deviceready but same doesn't guarantees the appropriate ADF Mobile state.

In ADF mobile using showpagecomplete event on the handlePageShown callback function it can be checked.
<script>
        function handlePageShown() {
          console.log("Page is shown!");
        }
        document.addEventListener("showpagecomplete", handlePageShown, false);
</script>
The showpagecomplete event guarantees the appropriate ADF Mobile state; other browser and third-party events, such as load and Cordova's deviceready, may not.

In my next article I will show the usage of showpagecomplete event with example.

11 comments:

  1. Hey Deepak that was a very informative tutorial on checking AMX page when it is not fully loaded.We create many Oracle ADF tutorials as well that may benefit your readers, find out more at http://www.fireboxtraining.com/

    ReplyDelete
  2. Thanks for the tutorial on AMX pages loading. I work at a mobile app development company and this issue is very important for my job. I try to read more such tutorials on mobile apps development. Hope hearing from you soon.

    ReplyDelete
  3. Nice Blog !
    QuickBooks is one such accounting software that is used by businesses of all sizes to streamline all the accounting activities of an organization. In case you want quick help for QuickBooks problems, call us at QuickBooks Customer Support 1-855-974-6537 and get immediate technical solutions for QuickBooks queries.

    ReplyDelete
  4. Hey! Good blog. I was facing an error in my QuickBooks software, so I called QuickBooks Customer Service (855)756-1077. I was tended to by an experienced and friendly technician who helped me to get rid of that annoying issue in the least possible time.

    ReplyDelete
  5. Great work. You have done an excellent job. Thank you for sharing such a knowledgeable piece of work. In case you are struggling with QuickBooks Error 1712 at any point in time, call +1-855-756-1077 and get instant assistance from experts.

    ReplyDelete
  6. Hey! Well-written blog. It is the best thing that I have read on the internet today. Moreover, if you are looking for the solution of QuickBooks Customer Service, visit at QuickBooks Customer Service to get your issues resolved quickly.

    ReplyDelete
  7. Nice article, keep writing such blogs regularly.in case if you face any issue, using QuickBooks, CallQuickBooks customer service and call on number 1-855-756-1077.

    ReplyDelete
  8. Hey! Excellent work. Being a QuickBooks user, if you are struggling with any issue, then dial QuickBooks Error 3371. Our team at QuickBooks will provide you with the best technical solutions for QuickBooks problems.

    ReplyDelete
  9. Thanks for sharing such useful information with us. I hope you will share some more info about your blog. Please keep sharing. We will also provide QuickBooks Customer Service for instant help.

    ReplyDelete
  10. Hey! Lovely blog. Your blog contains all the details and information related to the topic. In case you are a QuickBooks user, here is good news for you. You may encounter any error like QuickBooks Error, visit at QuickBooks Customer Service Number for quick help.

    ReplyDelete
  11. Hey! Well-written blog. It is the best thing that I have read on the internet today. Moreover, if you are looking for the solution of QuickBooks Software, visit at QuickBooks Phone Number to get your issues resolved quickly.

    ReplyDelete