how to create an function using jquery live?
- by Mahmoud
Hey all
i am trying to create a function that well keep the user in lightbox images while he adds to cart, for a demo you can visit
secure.sabayafrah.com
username: mahmud
password: mahmud
when you click at any image it well enlarge using lightbox v2, so when the user clicks at the image add, it well refresh the page, when i asked about it at jcart support form they informed me to use jquery live, but i dont know how to do it but as far as i tried this code which i used but still nothing is happening
jQuery(function($) {
$('#button')
.livequery(eventType, function(event) {
alert('clicked'); // to check if it works or not
return false;
});
});