From 1bf13b75e5f5f3d1f953a94a9be244d734ed3f9d Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 28 Jan 2006 03:38:28 +0000 Subject: Update I18N.page doc. --- framework/Web/Javascripts/extra/getElementsBySelector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/Javascripts') diff --git a/framework/Web/Javascripts/extra/getElementsBySelector.js b/framework/Web/Javascripts/extra/getElementsBySelector.js index d6675cd5..592872fc 100644 --- a/framework/Web/Javascripts/extra/getElementsBySelector.js +++ b/framework/Web/Javascripts/extra/getElementsBySelector.js @@ -30,13 +30,13 @@ function getAllChildren(e) { matching the CSS selector. Selectors can contain element names, class names and ids and can be nested. For example: -
elements = document.getElementsBySelect('div#main p a.external')+
elements = $CSS('div#main p a.external')Will return an array of all 'a' elements with 'external' in their class attribute that are contained inside 'p' elements that are contained inside the 'div' element which has id="main" */ -document.getElementsBySelector = function(selector) { +$CSS = function(selector) { // Attempt to fail gracefully in lesser browsers if (!document.getElementsByTagName) { return new Array(); -- cgit v1.2.3