O
O
Osco2021-11-18 09:14:19
AJAX
Osco, 2021-11-18 09:14:19

How to make AJAX request work on iPad mini 9.3.6?

Hello!
There is this simple code:

<html>
<body>

<div id="content"></div>


<script type="text/javascript">
function show()
    {
        $.ajax({
            url: "tablo_cust.php",
            cache: false,
            success: function(html){
                $("#content").html(html);
            }
        });
    }

    $(document).ready(function(){
        show();
        setInterval('show()',1500);
    });
</script>
</body>
</html>


Ultimately, it looks something like this:
6195edbd7da8c595870080.jpeg

a table generated by the tablo_cust.php file and updated by the script every 1.5 seconds.
Works on all devices except the old iPad mini (ios 9.3.6). The time in the menu bar goes by, which means JS is connected and working, but the table is not displayed at all, in different browsers.
Is there a way to make it work on this particular device or is it easier to score?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question