michael <nomail (AT) example (DOT) com> wrote:
Quote:
I guess this is partly a javascript questions, but is there a way to check
if a CSS id or class exists anywhere on a page. |
The id and class attributes are HTML element attributes, not CSS.
Quote:
For example, if the id "bla" exists, it should return true only if the
following tag is on the page:
a href="bla.html" id="bla" |
if (document.getElementById("bla") == null) ...
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ๔ter le premier point de mon adresse de courriel.