Member-only story
Uncaught TypeError: $(…).DataTable is not a function at HTMLDocument
How do I solve the DataTable Laravel problem in 03 days?
Hi I’m Mahe Newbie Laravel Developer. Recently I Try To Implement DataTable Plugin In My Own Laravel Project. But Unsuccessful.
I asked my team mate — senior coder — teacher — google — stack overflow everything. And Almost tried 50+ times but result is 0.

Then I recheck my file structure. Everything was Ok! But DataTable Showing me The F****k problem.
It’s the file hiearchy in my app.blade.php.
I just add extra 2 file.
- jQuery
- jQuery UI
But Result is also 0.
then i just add “defer” in my dataTable Its Working fine.
Or Just do
defer just give the file priority load jquery multiple time. thats why its gives us Uncaught TypeError: $(…).DataTable is not a function at HTMLDocument
Final Result

*** Disclaimer: DataTable is Not Fixed. It could be happened with others jquery plugin also.
Thank You,
Mahe Karim