[jquery-dev] Re: event delegation

2008-10-11 Thread Diego Perini
Mike, what I normally need is let the CSS selector specify on what elements I want lo listen for event and not have that embedded by default (forced) in the plugins or core. For example I prefer to be able to fully use and specify CSS selector like these in the delegation method: '#nav' listenin

[jquery-dev] Re: event delegation

2008-10-11 Thread Jörn Zaefferer
About the delegation plugin used by the validation plugin: There an event bubbles from an input (always the event.target, inputs don't have children) to the form. So there was no need to find the actual delegate based on the event.target. Works well in this case, but isn't a general event delegatio

[jquery-dev] Re: Safari vs jQuery hide()

2008-10-11 Thread Ca-Phun Ung
Sorry, typo in the above, should be: $(function(){ $("#myTextBox").hide(); }); On Sat, Oct 11, 2008 at 5:17 PM, Ca-Phun Ung <[EMAIL PROTECTED]> wrote: > Try this: > $(function(){ > $(#myTextBox").hide(); > }); > > On Sat, Oct 11, 2008 at 1:54 AM, noah <[EMAIL PROTECTED]> wrote: > >> >> I

[jquery-dev] Re: Safari vs jQuery hide()

2008-10-11 Thread Ca-Phun Ung
Try this: $(function(){ $(#myTextBox").hide(); }); On Sat, Oct 11, 2008 at 1:54 AM, noah <[EMAIL PROTECTED]> wrote: > > I don't know if you guys are aware, but there seems to be a bug when > using the hide() method in Safari, but only on page load. So > something like this: > > $(function(){