Answer the question
In order to leave comments, you need to log in
How to dynamically update a block using Ajax?
there is something like this:
$(document).ready(function (e) {
$(".epict").on('submit',(function(e) {
e.preventDefault();
$.ajax({
url: "epict",
type: "POST",
data: new FormData(this),
contentType: false,
cache: false,
processData:false,
success: function(response)
{
$(".pict").html(response);
}
});
}));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question