Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #17289

getElementsByClassName: BUG in JS-engine?

From Mattias Campe <mattiaspuntcampe@geeeemeil.com>
Newsgroups comp.lang.javascript
Subject getElementsByClassName: BUG in JS-engine?
Date 2012-11-18 11:47 +0100
Organization A noiseless patient Spider
Message-ID <k8aee8$54m$1@dont-email.me> (permalink)

Show all headers | View raw


Dear comp.lang.javascript

I have strange behavior when using getElementsByClassName and I don't 
understand what I'm doing wrong. There are some paragraphs, where I want 
to change layout by selecting the className, to "link" another className 
to it. But getElementsByClassName only gets some of those classnames, 
but not all. It seems such a simple exercise to make it hard to have 
errors, but still I succeed in doing so :-/.

Would somebody happen to know what the problem is? You can find my code 
at 
http://php.olvgroeninge.be/~sac.mcampe/werkmap/getElementsByClassName.html

Tested with browser Firefox 16.0.2 op Ubuntu 12.10


Kind regards
Mattias

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

getElementsByClassName: BUG in JS-engine? Mattias Campe <mattiaspuntcampe@geeeemeil.com> - 2012-11-18 11:47 +0100
  Re: getElementsByClassName: BUG in JS-engine? Martin Honnen <mahotrash@yahoo.de> - 2012-11-18 12:09 +0100
    Re: getElementsByClassName: BUG in JS-engine? Mattias Campe <mattiaspuntcampe@geeeemeil.com> - 2012-11-18 14:56 +0100
      Re: getElementsByClassName: BUG in JS-engine? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-11-18 18:43 +0100

csiph-web