skip to Main Content

Show and hide div with ajax content – Jquery ajax

I have this code: <div id="product_<?php echo $product->id; ?>"></div> This is ajax js code: $(function () { $('.expand').on('click', function (e) { e.preventDefault(); var token = "<?php echo $this->security->get_csrf_token_name(); ?>"; var hash = "<?php echo $this->security->get_csrf_hash(); ?>"; var productID = $(this).data("id");…

VIEW QUESTION
Back To Top
Search