:radio


version 1.0 以降

解説

type属性が"radio"input要素にマッチします。

記法

:radio


例1:「テスト結果」にある、type属性が"radio"input要素の後ろに、"<-- radio"という文字列を追加します。

$("#test_result :radio").parent().append($("<span/>").text("<-- radio").css("background", "yellow"));


1<input type="button" value="Input Button"/>
2<input type="checkbox" />
3<input type="file" />
4<input type="hidden" />
5<input type="image" />
6<input type="password" />
7<input type="radio" />
8<input type="reset" />
9<input type="submit" />
10<input type="text" />
11<select><option>Option</option><select>
12<textarea></textarea>
13<button>Button</button>

ページトップヘページトップヘ


element
.class
*
selector1, selector2, selectorN
ancestor descendant
parent > child
prev + next
prev ~ siblings
:first
:last
:not(selector)
:even
:odd
:eq(index)
:gt(index)
:lt(index)
:header
:animated
:contains(text)
:empty
:has(selector)
:parent
:visible
[attribute]
[attribute=value]
[attribute!=value]
[attribute^=value]
[attribute$=value]
[attribute*=value]
[attributeFilter1][attributeFilter2][attributeFilterN]
:nth-child(index/even/odd/equation)
:first-child
:last-child
:only-child
:input
:text
:password
:radio
:checkbox
:submit
:image
:reset
:button
:file
:hidden
:enabled
:disabled
:checked
:selected