hi on document load i have to attach the click event to certain elements. performance wise whats better to use?
LIVE() $("#container ul li").live('click', function(e) {} EVENT DELEGATION $('#container ul li').click(function(e) { if ($(e.target).is('li')) {...} }); thanks pete