Support the ongoing development of Laravel.io →
Views Blade Requests

I have a table(displayTable) that display data from my db of am using laravel on the i have a link jquery list for an event of click now part of the click event is to run a $.load request to url which i did with laravel etc. now the table (displayTable) will be loaded. but when that happen jquery event listener doesn't work. on the table.

                               @include('partials.dataTable')

   </div>~~~
my $.load url go to a controller that get the same data from the table return the data to the same 'partials.dataTable' view
hence that same table is added to the DOM replacing the former one.
~~~$('div.displayTable ').fadeOut('slow')$('div.displayTable ').load('someurl')$('div.displayTable ').fadeIn('slow') ~~~
Last updated 3 years ago.
0

I just added the $.event listener to my table view file

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.