On Sep 27, 2008, at 11:39 PM, Brandon Aaron wrote:

I understood he was binding Jeditable to event called "editable" (which is possible). So the question would have been does LiveQuery handle other than inbuilt jQuery events?

Although maybe misunderstood the original question.

Quickly looking over the jEditable docs, 'editable' isn't an actual event. You can instead use a function based live query like this:

$('.editable, .bline_measure caption').livequery(function(){
    $(this).editable(function(value, settings) { ... });
});

--
Brandon Aaron

On Fri, Sep 26, 2008 at 4:24 PM, Wayne <[EMAIL PROTECTED]> wrote:

I was trying to put livequery in place on the site, but it seems to
attach to pre-known events, like click, instead of new events, like
editable.

For instance, I'm trying to do this:

$(".editable, .bline_measure caption").livequery("editable",
function(value, settings) {


Wanting to watch these items and rebind editable to the newly created
captions when I clone them. Is this not a good job for livequery?

--
Mika Tuupola
http://www.appelsiini.net/

Reply via email to