1
I have a table that has the option to update records, but need that when changing a record it is changed dynamically in the table without the need for refresh.. already working the part of the server it already changes the data and tals.. however I need to refresh the page to see the change made.. I have the following JS:
if(e.update){
$('#insert_form').each(function(){
$('.alert').removeClass('alert-danger').addClass('alert-success');
this.reset();
});
// Aqui eu preciso recarregar a tabela..
$('#employee_table') // Refresh!
}
is inside a request, and if the return is update it var execute the function inside..
exact, however there is no other way without needing to rebuild the same?
– wDrik
Yes @Drik, have a unique identifier of the table row and change its properties with the return.
– BrTkCa