How do I avoid this problem
I use this code to load datatable with this method show,add,edit,delete
<div class="panel-body" id="content">
</div>
function ajaxLoad(filename, content) {
content = typeof content !== 'undefined' ? content : 'content';
$.ajax({
type: "GET",
url: filename,
contentType: false,
success: function (data) {
$("#" + content).html(data);
},
error: function (xhr, status, error) {
alert(xhr.responseText);
}
});
}
$(document).ready(function () {
ajaxLoad('personne_morale/list');
});
My problem why other jquery do not work in this function (data-validation)
<script src="{{ asset('assets/js/form-validation/jquery.form-validator.js') }}"></script>
<script src="{{ asset('assets/js/form-validation.js') }}"></script>