Thank you for that.
Just out of curiosity, why doesn't the [style=] form work?
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]' )
Thank you!
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
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
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
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:
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
From: ml1 ?tsummer...@gmail.com
ecblank.gif ecblank.gif
To: jQuery (English) jquery-en@googlegroups.com
ecblank.gif ecblank.gif
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
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
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
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
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.
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
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:
(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
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:
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
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!
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.
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
22 matches
Mail list logo