skip to Main Content

Jquery – laravel datatable takes long time to load with only two records

i have the following code with only 2 records of data my controller : if (request()->ajax()){ $spareparts = Sparepart::select(DB::raw('DATE_FORMAT(spareparts.created_at,"%d-%m-%Y") as order_date'), DB::raw("CONCAT(users.address, ', ', regencies.name, ', ', districts.name, ', ', provinces.name) as address"), DB::raw("CONCAT(shipping_addresses.full_address, ', ', r.name, ', ', d.name,…

VIEW QUESTION

Toggle CSS onmouseover – WordPress Menu

I have a wordpress menu in which every links a custom class. Onmouseover, I'd like this class to change the css of another element in the page. I tried without success: $('.menuclass').onmouseover(function () {$('.other-element').toggleClass("hover");}); I might go the wrong way…

VIEW QUESTION
Back To Top
Search