Ticket # 5439 created.
Mark
On Oct 30, 8:12 pm, Dave Methvin wrote:
> > The ajax options parameter, unlike every other(?) options
> > parameter, is used "in place".
>
> That does seem kind of fishy. I don't recall seeing a ticket for this,
> it's at least worth considering. Do you want to create
> Why does $(0) return a document? Is this intended behaviour?
In 1.3.2, $(anything_falsy) returns the document. In the nightlies, $
(anything_falsy) returns an empty jQuery object. It was changed
because $(undefined) returned the document and that could lead to some
hard-to-debug situations.
> I
This changed slightly in the latest nightlies - if you do $(0) it'll
be as if you did $() or $([]). As of now any false-ish value will give
you an empty jQuery set.
Considering that there is no intended behavior for passing in a number
to the jQuery object this seems fine to me.
I'm curious - why
> $(0).get(0)
Document
> $(1).get(0)
1
> $(2).get(0)
2
Why does $(0) return a document? Is this intended behaviour? I would
expect it to return 0.
--
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to jquery
You could protect your rules with a noscript tag:
.show { color: red }
Hello world
In this example, the span would only be in red when javascript is off.
2009/10/31 jez
> Hi all,
>
> I have a minor pr