assets/js/script.js
// //this function will make all ajax request
this function will make all ajax request
this function will make all ajax request
function ajaxRequest(queryUrl) {
        $.ajax({
            url: queryUrl,
            method: "GET"
        }).then(function(response) {
            ajaxResponse = response;
            console.log(ajaxResponse);
        }, function(error) {
            console.log(error);
        });
    }
function ajaxRequest ( queryUrl ) { $ . ajax ( { url : queryUrl , method : "GET" } ) . then ( function ( response ) { ajaxResponse = response ; console . log ( ajaxResponse ) ; } , function ( error ) { console . log ( error ) ; } ) ; }
this function will make all ajax request
this function will make all ajax request