Searching hasn't revealed a solution to my question so asking here. I've been using livequery() for a while now in combination with live(). Generally, I use live() for known events like click but using livequery for triggering on a specific selector and applying a plugin. For example...
$('#childDomains').livequery(function() {
var element = $(this);
element.jqGrid({
// plugin initialization here
});
});
I'm wondering if there is a way to do the same thing using live() / delegate() or some other cool jQuery feature I don't know about. I'm attempting to lighten my dependency load and I noticed that livequery hasn't been updated since 02-2010.
UPDATE: I guess I'm not being clear enough. I have a page that uses jqGrid and turns a TABLE element into a jqGrid Ajax data grid. There is no real click event for this to occur. The page that this table is on is loaded via ajax and anytime the DOM sees $("#childDomains") it should apply the jqGrid plugin to that element. Just like my livequery example is doing.
From my understanding thus far, I don't believe this is possible without livequery, but I wanted to ask to make sure.