RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: schmoboy
$('#products th a, #products .pagination a[href][href!="#"]').live('click',
This prevents attaching a click event to pagination links where href='#'.