skip to Main Content

How can I access each element in jQuery without looping, starting from the second child?

<div class="container"> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img1.png" /> </div> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img2.png" /> </div> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img3.png" /> </div> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img4.png" /> </div> <div class="row…

VIEW QUESTION

Why is jquery post sending empty data?

<!DOCTYPE html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <head> </head> <body> <div id="all-comments"></div> <input type="hidden" name="page_id" value="1"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { let page_id = $('input[name="page_id"]').val(); $.ajax({ url: 'vender/show_comment.php', type: 'POST', data: { page_id: page_id } }); setTimeout(function() { $("#all-comments").load("vender/show_comment.php") },…

VIEW QUESTION
Back To Top
Search