English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
:root selector selects the root element of the document (always <html>).
$(':root')
Select the root element:
$(document).ready(function(){ $(':root').css('background', 'lightgreen'); });Test and See‹/›