Answers for "ajax function example"

0

ajax example

/*SM*/ 
$.ajax({
        method: "POST",
        url: "/controller/action",
        data: { name: "John", location: "Boston" },
        success: (result) => {
            console.log(result);
        },
        error: (error) => {
            console.log(error);
        }
    });
Posted by: Guest on May-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language