-1
I used the following code JQuery
to avoid page reloading when entering a record in the bank. actually stopped reloading, but is not allowing to record the records in the database.
$( "#btnAtividades" ).click(function( event ) {
event.preventDefault();
});
I was told that I have to put something else after the event, but no one explains to me exactly what I found some examples but it was in pure PHP and I’m using Laravel.