English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Il selettore :root seleziona l'elemento radice del documento (sempre <html>).
$(':root')
Seleziona l'elemento radice:
$(document).ready(function(){ $(':root').css('background', 'lightgreen'); });Prova a vedere‹/›