[Vuejs]-Watch for changes jquery

0👍

You can do this.
you have to add your ajax success callback.

$.ajax({
    method: "POST",
    url: "data.php",
    data: { key: "id", value: "1234" }
}).done(( data ) => {
    $(col).after(`<div class"class">${data}</div>`)
});

reference: http://api.jquery.com/jquery.ajax/

Leave a comment