is your recordset called rsdetail the same as in the example ?
seems a bit of a coincidence.
the gallerybasket_1_ATC_<?php echo $row_rsdetail["ID"]; ?> in my example is the formname of the add to cart form
to test that js is working, you could put an alert() in the function to ensure it is returning a value.


