English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
O seletor :root escolhe o elemento raiz do documento (sempre <html>).
$(':root')
Escolher o elemento raiz:
$(document).ready(function(){ $(':root').css('background', 'lightgreen'); });Teste Veja‹/›