Hi,

Klaus Hartl wrote:
> Besides with simple binding it is not as easy to get the elements that 
> are worked with... instead of having them as arguments already you would 
> have to do some :hidden and :visible checks, so I think the callbacks 
> make some sense.

I wrote my own tab JavaScript code and I can confirm that callbacks are
a must have for such a piece of code.

For example, if you need to display a calendar button beside a form
control, we need to know its actual position, what we don't have if the
parent element is hidden.

The most important callback is the "onetabloaded" which is called the
firt time the tab is shown.

-- 
Olivier Meunier
[EMAIL PROTECTED]

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to