Friday, December 25, 2009

[jQuery] Re: live event with instant execution

Basically execute additional javascript code based on a classname
adding functionality to these elements...
I tried the following, but it doesn't seem to be working...

jQuery('*').load(function () {
// run code
console.log("DEBUG: Initialising element " + jQuery(this));
flexinInitialiseElement(jQuery(this), false);
});

This piece of code is added to the top of the page, so I would have
expected each DOM element to be passed to the flexinInitialiseElement
method, but it doesn't...

Thanks for the much appreciated feedback on this great Christmas
day :)

David.

On 24 dec, 14:14, Šime Vidas <sime.vi...@gmail.com> wrote:
> What does "initiating elements" mean?

No comments: