Hi Karl,

Thanks for your interesting alternative approach.

On my side I was trying to set a jQuery variable using the argument
that was passed to the function.
But something seems broken if we don't use jQuery from the very
beginning for the selection.

$.tmp = caller;
alert($.tmp);    // displays "object HTMLInputElement"
alert($.tmp.parent());  // Does not work.
alert($.tmp.parentElement);   //  displays "object HTMLLIElement, but
impossible to go further with find(), a.s.o.

Reply via email to