I am using livequery for my project for attaching events in links in table/grid. The grid is paginated ajax calls.
The confirmable link shows up a dialog when clicked. This click event is attached to the grid using livequery.
Below is a mockup of the grid/table structure. The #ajaxGrid part is returned as HTML in the pagination ajax call.
<div id="ajaxgridDiv">
<div id="ajaxGrid">
<a href="#" class="confirmableLink">Click here for a Jquery UI dialog</a>
<div class="paginator">
//links to prev/next pages.
</div>
</div>
</div>
How can use .live() or .delegate() instead of livequery in such a situation. My problem arises from the fact that I cannot attach a 'load' event using delegate as such an event is not bubbled up.