how to add jquery live to lightbox v2?
- by Mahmoud
Hey all
I am trying to create a page that well display a gallery image, when the user clicks on any images it inlarges using lightbox v2 now after that i adding on each image a button that well submit to jcart script which well add to cart, but when the user click on the button it refreshes. so i wanted to use jquery live to submit to jcart without closing the lightbox v2 but i still dont know how to do?
code used inside lightbox title is
<form class="jcart" method="post" action="" name = "add" >
<input type="hidden" name="id" value="".$row['pro_num']."" />
<input type="hidden" name="name" value="".$row['pro_name']."" />
<input type="hidden" name="price" value="".$row['pro_price']."" />
<input type="hidden"name="qty" size = "1" value="1" />
<br />
<input type="image" value="Submit" name="addto" src = "images/add.png" />
</form>