I use the jquery.load feature for loading page to div on several pages of my project and I keep getting deprecated warning in console. Please how can I resolve this?
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
  <script>
    $(document).on('change', 'select#class_id', function () {
        var class_id = $(this).val();
        $('p#content').load('class.php?cid='+class_id);
    });
</script>
Need help using this
$("p#content").on("load", function() {
    //url
});
Is there a way to load these pages without warning.
