[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: div style=background-image:url(myimage.png);/div 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: div class=thirdclassa href= class=myclass/a/div match this: a href= class=myclass/a but not this: div class=otherclassa href= class=myclass/a/div

[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

[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

[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 span class=mycategory mychoice ../span When I use this selector:

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

2009-02-16 Thread ml1
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:       ml1 tsummer...@gmail.com                                                                             To:         jQuery (English) jquery-en

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

2009-02-16 Thread ml1
                                             From:            ml1 ?tsummer...@gmail.com                                ecblank.gif    ecblank.gif                                              To:              jQuery (English) jquery-en@googlegroups.com            ecblank.gif    ecblank.gif

[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: myxml span

[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 jere...@gmail.com 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 tsummer...@gmail.com wrote: Tragically none of those quoting

[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 tsummer...@gmail.com wrote: Since I seem to be doing the right thing based on the responses given

[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

[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] 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. Is

[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:

[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

[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] 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

[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 div 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] 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: items item Hello world! /item item Goodnight moon! /item items I can get a wrapped set of