Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Senior Coder crmpicco's Avatar
    Join Date
    Jan 2005
    Mauchline, Scotland
    Thanked 1 Time in 1 Post

    forcing page load on an AJAX-loaded page

    I have an issue with an third-party integration on an iPad-specific website, which has a number of pages loaded via AJAX.

    When I go to the page for the first time the functionality that is expected to be available is not, and only when I do a page refresh in Safari do I see the feature.

    In the 3rd party JavaScript there is this sort of code peppered throughout:

    script.onload = script.onreadystatechange = function () { // do something }
    Here is the full JavaScript included file.

    Is there a way that I can either force a page load on the iPad or build in some workaround that means that when I change to the page where the JavaScript is included and fires?

    As I mentioned, this is only apparent on an iPad-specific website and the same feature has no problem on a desktop browser where the page is not loaded via AJAX.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts