Yeah, you can remove the leading double slash pre-1.2 as well. For
HTML documents, the leading double slash is equivalent to $('html
some-selector'). No need for it, as far as I can tell.
On Sep 11, 2007, at 1:22 PM, Wizzud wrote:
You can remove the leading double slash? ...
$("tr[aID='1
You can remove the leading double slash? ...
$("tr[aID='1'][bID='2']").remove(); //v1.2+ only
Will B. wrote:
>
>
> Doesn't that still make it XPath style?
>
> On Sep 11, 10:54 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>> In version 1.2, you should be able to do the same thing by removing
Actually, no. CSS uses square brackets without the @ symbol to denote
the attribute selector.
cf. the CSS 2.1 spec:
http://www.w3.org/TR/CSS21/selector.html#attribute-selectors
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 11, 2007, at 12:39 PM,
Doesn't that still make it XPath style?
On Sep 11, 10:54 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> In version 1.2, you should be able to do the same thing by removing
> the @ symbol from the selectors.
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
In version 1.2, you should be able to do the same thing by removing
the @ symbol from the selectors.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 11, 2007, at 9:45 AM, Will B. wrote:
Wow...it did show up, then! Darn. I reposted (almost) for
Wow...it did show up, then! Darn. I reposted (almost) for nothing.
Thanks for answering, Klaus.
Is there a way to do this w/o using XPath? Now that it's been pushed
off to a plugin, I'd rather stick with core Jquery.
- Will
On Sep 11, 8:31 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Will B.
Will B. wrote:
I currently know how to do this:
$("//[EMAIL PROTECTED]'123']").remove() ;
This removes a table row that of the style:
However, these rows in this complex table also have another fashion
that I've been using:
How can I use Jquery to select rows that have aID="1" and bID=
7 matches
Mail list logo