[jQuery] Re: jQuery 1.3.2 + Dialog + Tabs = Bug

2009-02-22 Thread mgl
it: > > > setTimeout(function() { > >     tabdiv.children('#tabs').tabs("select","#tabs-2"); > > > }, 0); > > > Lead me to changing the order of opening the dialog and selecting the > > other tab: > > > content.dialog(&

[jQuery] jQuery 1.3.2 + Dialog + Tabs = Bug

2009-02-21 Thread mgl
Hi all, I've found a bug in jQuery 1.3.2 (or maybe Dialog/Tabs in UI 1.6rc6). In my application, I have a dialog with tabs inside of it. I create the dialog and build/setup the elements inside it before it is displayed to the user. Up to jQuery 1.3.1 I haven't had a problem with this. Dependi

[jQuery] Re: jQuery.data(name,value) returns jQuery?

2008-12-09 Thread mgl
of value. Sorry. Yeah, that looks like an error in the > docs. Returns the jQuery object, as nearly all jQuery methods do (except in > cases like .data(name) where they're a getter and can't return a jQuery > object to continue the chain). > > - Richard > > On Tue,

[jQuery] Re: jQuery.data(name,value) returns jQuery?

2008-12-09 Thread mgl
t; <[EMAIL PROTECTED]> wrote: > Do you have some sample code showing the problem? > > - Richard > > On Tue, Dec 9, 2008 at 5:12 PM, mgl <[EMAIL PROTECTED]> wrote: > > > The docs athttp://docs.jquery.com/Coresay that jQuery.data > > (name,value) should return the value, but instead it seems to be > > returning jQuery.  Is this what is supposed to happen?

[jQuery] Re: jQuery.data(name,value) returns jQuery?

2008-12-09 Thread mgl
; > The $('div').data('test') will return you the value. > > George > > On Dec 9, 5:12 pm, mgl <[EMAIL PROTECTED]> wrote: > > > The docs athttp://docs.jquery.com/Coresaythat jQuery.data > > (name,value) should return the value, but instead it seems to be > > returning jQuery.  Is this what is supposed to happen?

[jQuery] jQuery.data(name,value) returns jQuery?

2008-12-09 Thread mgl
The docs at http://docs.jquery.com/Core say that jQuery.data (name,value) should return the value, but instead it seems to be returning jQuery. Is this what is supposed to happen?

[jQuery] Re: Selector filters using less-than/greater-than operators?

2008-12-09 Thread mgl
Cool, thanks. On Dec 9, 8:13 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > The simplest alternative is to write a filter function: > > $("element").filter(function(){ >    return $(this).attr('attribute') <= x; > > }); > > - ricardo > > O

[jQuery] Re: filter expression with multiple class names

2008-12-08 Thread mgl
ain both classes > $('div').find('.class-one.class-two'); > > -Hector > > On Mon, Dec 8, 2008 at 7:28 PM, mgl <[EMAIL PROTECTED]> wrote: > > > Hello again, > > > Does anyone know how (or if it is possible) to select eleme

[jQuery] filter expression with multiple class names

2008-12-08 Thread mgl
Hello again, Does anyone know how (or if it is possible) to select elements by multiple class names? For example, given the following div elements: If I wanted to get all div elements that have *both* class-one and class-two, the only straight-forward way I can think of is the following: $(

[jQuery] Selector filters using less-than/greater-than operators?

2008-12-08 Thread mgl
Hello everyone, I'm wondering if there is a way to select element with an attribute filter that uses greater-than, or less-than operators. Something like this: $("element[attribute<=value]"); I don't see anything equivalent in the documentation...if this doesn't exist, are there any simple alt