Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140762

Javascript jQuery Error Overload Ajax Request?

$
0
0

Im have two buttons. One Button refreshes the table (html table) with a ajax php request. And there is another button to refresh it every 10 seconds. If I try to access the document it throw a lot of errors that I don't know about how to solve the problem.

My Javascript Code is here:

<script>
$(document).ready(function(){
    $("#reloadLoginActivities").click(function(){
        $("#loginActivities").load("https://www.prodigy- 
    official.de/resources/php/website_utilities.php", {
            function: "loadTenLatestLoginActivities"
        });
    });


$("#liveUpdateLoginActivities").click(setInterval(function(){
        $("#loginActivities").load("https://www.prodigy-official.de/resources/php/website_utilities.php", {
            function: "loadTenLatestLoginActivities2"

        },10000);

    }));

});
 </script>

I get a lot of errors: https://prnt.sc/pp33s1

My jQuery File is here: https://www.prodigy-official.de/resources/js/jquery-3.3.1.min.js


Viewing all articles
Browse latest Browse all 140762

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>