|
Something is very awkward about my situation... i have something like this:
<div id="selector"> <input type='radio' /> <input type='radio' /> <input type='radio' /> </div>
if I use $("#selector input[type=radio]") all three...
Started by Dan on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
And the second "1" ?
var a = $("#selector input[type=radio]"); var b = $("#selector").find("input[typeTry
$("#selector").find("input[type=radio]")
What you really want is:
$("#selector > :radio that is the issue....
|
|
I have
var $set = $('.foo,.bar').filter( function() {return $(this).parents('.baz').length < 1;});
as a way to select all the elements whose classes are either foo or bar and who do not descend from an element whose class is baz . Is there a selector...
Started by DDaviesBrackett on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The selector chaos gives should work:
$('.foo:not(.baz .foo),.bar:not(.baz .bar)')
Just wanted to give the functionality to, in a quick way, find....
$('.foo:not(.baz .foo),.bar:not(.baz .bar)')
Add a :not('.baz') to your top level selector.
|
|
Hi All, I have jQuery, FireFox, Firebug, IE, and IE developer toolbar. When I am examing a page with either FireBug or IE Dev toolbar, I am able to click on an element and it shows me in the dom where the element is etc... Is there anyway to transform...
Started by Kettenbach on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're looking.
In Firebug you can write $1 which is the last selected object on the page.
|
Ask your Facebook Friends
|
I'm trying to use jQuery 1.3.1's :not selector with sIFR Ver. 3 Rev. 436.
I've enabled the use of jQuery selector's as per the instructions at the sIFR Wiki , and basic selector's work which leads me to believe that sIFR is using the jQuery selectors....
Started by Seth on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
My guess is that the activating the use ....
The first example (the one that works) is something that any browser can understand without JQUery .
The fact that basic selectors work doesn't necessarily mean that JQuery's selectors are enabled.
|
|
I have 3 stylesheets that I have copied and pasted all into 1. As such, there are identical/repeated selectors. Is there an effective tool I can use to remove all repeated selectors if the style properties are identical? Another requirement is if the ...
Started by Rees on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://www.tothepc.com/archives/combine-merge-multiple-css-files/.
Dust-Me Selectors(FF Plug-in) will remove any unnecessary or duplicate CSS Selectors.
|
|
Hi Guys, now i'll present my last tool, The Selector 3.0, included in my Superpatch 2.0
I want release it also for users that not use my Superpatch
This tool is very very useful i think!
Features:
- Revolutionary Match Automatic Selector: that allow you...
Started by zlatan87 on
, 11 posts
by 10 people.
Answer Snippets (Read the full thread at soccergaming):
I've unpacked part 1,, what do i have to do with part 2, 3, 4 ? i can't unpack it in the same map cause the files have the same name,, Excellent Patch and selector but ive problem with the sound it m8, There are 4 parts,, Once i've unpacked....
|
|
Is there any way that I can pass arguments in selector?
example:
I have this method
- (void)myMethod:(NSString*)value1 setValue2:(NSString*)value2{ }
and I need to call this function through a selector passing two arguments.
[NSTimer scheduledTimerWithTimeInterval...
Started by isiaatz on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
For scheduledTimerWithTimeInterval....
selector(myMethod:setValue2:)
Since the selector for your method isn't just called myMethod the words between colons and thus also use @selector(myMethod::) but don't quote me on this unless others can confirm it.
|
|
Does YUI have selector methods like jQuery?
e.g. get me all div's that are children of that have links in them?
Started by ASDFdotASPX on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Check the YUI Selector Utility , it gives you CSS3 selector sintax, it still in beta but works://yuiblog.com/blog/2008/08/13/yui3pr1/ I've gotten good results using YUI 3 Preview Release 1.
|
|
To my understanding, the CSS specificity rules indicate that a pseudo selector has the same weight as a tag selector. So a selector like "div p a" would be more specific than "a:link".
But as the following test case demonstrates, that does not seem to...
Started by timmfin on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
As:
a-b-c-d 0 0 1 1 0 0 0 3 0 0 1 3
Your confusion possible comes from your use of the term "pseudo selector" which fails to recognise the distinction between pseudo-classes such as :link and pseudo.
|
|
Hi There
I'm trying to make a quick jquery plugin (as a learning exercise) for making a simple pager from a list of items (LIs in this case) and have run into a problem when passing the current selector (this) to a sub-function. The code is below.
The...
Started by Dan Drayne on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Var selector = $(this); $(".pageNav a").live("click", function() { // do something selector.hide(); });
and change
$(selector+".page"+clickedLink).show();
to
selector.find(".page"+clickedLink).show();
selector is not a string it ....
|