My code like this :
$('body').on('click', '#add-image', function(e) {
$(this).find('#form-add').trigger('reset');
// $(this).find('#form-add').clearForm();
// $('#form-add').clearForm();
// $('#form-add').val("");
// ...
});
If button clicked, I want the form clear
I try like that, but it does not work
How can I solve this problem?