English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
:root選択子はドキュメントのルート要素を選択します(常に<html>)。
$(':root')
ルート要素を選択:
$('document').ready(function(){ $(':root').css('background', 'lightgreen'); });テストして見て‹/›