[jQuery] Re: Matching on style attribute bug?

2009-03-06 Thread ml1
Thank you for that. Just out of curiosity, why doesn't the [style=] form work?

[jQuery] Matching on style attribute bug?

2009-03-05 Thread ml1
I ran into a jquery bug trying this with class, so maybe this is a bug too. Given this: Shouldn't I be able to select that with this: $( 'div[style*="myimage"]' )

[jQuery] Re: Wrapping tags that are not decendents

2009-03-03 Thread ml1
Thank you!

[jQuery] Wrapping tags that are not decendents

2009-03-02 Thread ml1
I am trying to figure out how to wrap "all a tags that are class myclass but are not descendents of divs that are class otherclass". ie match this: match this: but not this: Something like $('a.myclass:not(DESCENDENTOF div.otherclass)'), but I'm not sure what DESCENDENTOF would be here. Th

[jQuery] Re: Multiple inclusions of jquery possible?!?

2009-02-28 Thread ml1
Thanks! I'm not sure we can use that, because there are a couple of complications. For starters both jquery versions are using plugins, and you seem to be using the "extreme" version of noConflict(), which, according to the jq docs: "NOTE: It's very likely that plugins won't work after this par

[jQuery] Multiple inclusions of jquery possible?!?

2009-02-27 Thread ml1
Hi folks: We use jquery extensively in an application that suddenly needs to make use of an online ecommerce system that also happens to use jquery. This is causing things to break badly, not least because they use 1.2.6 but we have to use 1.3.2 to take advantage of a bugfix, and also because on

[jQuery] Re: "class" bug parsing loaded xml?

2009-02-16 Thread ml1
Never mind, the marvelous Mr. Resig noticed the other thread and already found and fixed the bug! See here: http://groups.google.com/group/jquery-en/t/73c2c580766270a0 On Feb 16, 1:34 pm, ml1 wrote: > Since I seem to be doing the right thing based on the responses given > to a previous

[jQuery] Re: "class" weirdness in loaded XML?!?

2009-02-16 Thread ml1
Holy cow, before I even submitted the bug report! On Feb 16, 1:24 pm, John Resig wrote: > I filed a bug and fixed the issue:http://dev.jquery.com/ticket/4167 > > --John > > > > On Mon, Feb 16, 2009 at 11:40 AM, ml1 wrote: > > > Tragically none of those quoting v

[jQuery] "class" bug parsing loaded xml?

2009-02-16 Thread ml1
Since I seem to be doing the right thing based on the responses given to a previous thread, I want to just verify this thoroughly with you folks before I submit this as a bug report. POSSIBLE BUG: "class" fails attribute selection TO REPRODUCE: Given the following xml file: Some content

[jQuery] Re: "class" weirdness in loaded XML?!?

2009-02-16 Thread ml1
    Michael Lawson >       Content Tools Developer, Global Solutions, ibm.com >       Phone: 1-919-517-1568 Tieline: 255-1568 >       E-mail: mjlaw...@us.ibm.com > >       'Examine my teachings critically, as a gold assayer would test gold. >  

[jQuery] Re: "class" weirdness in loaded XML?!?

2009-02-16 Thread ml1
..@us.ibm.com > > 'Examine my teachings critically, as a gold assayer would test gold. If you > find they make sense, conform to your experience, and don't harm yourself > or others, only then should you accept them.' > >   From:    

[jQuery] "class" weirdness in loaded XML?!?

2009-02-16 Thread ml1
I have something very strange going on trying to create a wrapped set of elements from an xml file loaded via jquery's xmlhttprequest. The xml has a number of entries with class attributes that have multiple values, ie ... When I use this selector: $('span[class*=mycategory"],xml).length j

[jQuery] Re: Triggering CSS pseudo selectors (like hover)?

2009-01-24 Thread ml1
Just to be clear, it is the CSS pseudo class I want to trigger a:hover { /* some CSS */ } without needing to know what is in the CSS block.

[jQuery] Triggering CSS pseudo selectors (like hover)?

2009-01-24 Thread ml1
I'd like to be able to use jquery (or javascript at all) to trigger an arbitrary element's pseudo selector. Is this possible at all? Examples: If you hover over one element it could trigger the hover state of a totally different element. If you have a hover effect on a menu trigger and then yo

[jQuery] Can jquery alter nodes of $.ajax()-loaded xml objects?

2008-11-07 Thread ml1
If I want to change the text of a document node I just do this: $('element').text("new text") But if I do that to a jquery xml object loaded using $.ajax it doesn't seem to actually change the node contents. $('element', loadedXML).text("new text") doesn't seem to change anything. I

[jQuery] Re: jCarousel callbacks with custom data

2008-10-24 Thread ml1
Ok, I;m an idiot. It works the way I was asking, you just have to dereference your custom data off the options object of the jcarousel in the callback. Thusly, for posterity: // Init jcarousel jQuery('#mycarousel').jcarousel({ itemLoadCallback: {onBeforeAnimation: mycarousel_itemLoadCallback

[jQuery] jCarousel callbacks with custom data

2008-10-23 Thread ml1
(Reposting because I failed to finish the subject line last time.) Is there a way to pass custom data to the jCarousel callbacks without creating a global? Ideally I'd like to be able to create arbitrary properties on the jCarousel object when it is initialized and then read them from the object

[jQuery] jCarousel

2008-10-22 Thread ml1
Is there a way to pass custom data to the jCarousel callbacks without creating a global? Ideally I'd like to be able to create arbitrary properties on the jCarousel object when it is initialized and then read them from the object in the callbacks. Something like this: jQuery('#mycarousel').jcar

[jQuery] Getting the xml string after a jquery ajax call

2008-09-24 Thread ml1
I am retrieving an xml file and using jquery to parse it, which is all working wonderfully. My problem is that I need to pass the same xml as a string on to some other parts of my system. I can't figure out how to get jquery to give me the string version, so I tried to change the dataType of the

[jQuery] Finding position among siblings

2008-07-15 Thread ml1
Is there an efficient, cross browser jquery way to find a node's position among it's siblings? Ie if I have ten nodes next to each other and the user clicks on the third one, what's the best way to tell that it's the third one? Thanks!

[jQuery] Re: Noob question about accessing element contents

2008-07-03 Thread ml1
This forum is about using jQuery, thus I assumed that I didn't have to spell out that I indeed of course meant the best jquery way. Thank you for your answer.

[jQuery] Re: Noob question about accessing element contents

2008-07-02 Thread ml1
I'm trying to find out the "best practice" for getting the contents of one particular element. I know about the each() call. As I said I can use ways that seem not so efficient to get the contents of a single element but I want to know the best way. On Jul 1, 5:20 pm, Mike Alsup <[EMAIL PROTECT

[jQuery] Noob question about accessing element contents

2008-07-01 Thread ml1
Hi: I'm a noob, so please be kind. I am using jquery to parse some xml. I'm looking for the best practice to access an elements text contents. Let's say my xml looks like this: Hello world! Goodnight moon! I can get a wrapped set of the elements this way: $('items > i