[Solved] How to make accordion to expand on hover not on click? [closed]

5th example in the jQuery UI Accordion documentation: Open on mouseover $( “#accordion” ).accordion({ event: “mouseover” }); You can attach any click events you wish to using the .click() or .on(‘click’) methods in plain jQuery. Please research before asking questions like this. 0 solved How to make accordion to expand on hover not on click? … Read more

[Solved] Dynamically fetch content inside accordion from database in php [closed]

You need to use something unique in your accordion id E.G. <div class=”accordion” id=”accordionExample”> <?php $i = 1; $user = $_SESSION[‘auth_user’][‘user_id’]; $query = “SELECT * FROM task WHERE user_id = ‘$user’ ORDER BY datetime DESC”; $query_run = mysqli_query($con, $query); while ($res = mysqli_fetch_array($query_run)) { ?> <div class=”card”> <div class=”card-header” id=”headingOne<?php echo $i ?>”> <h4 class=”mb-0″> … Read more