Re: GetElementByClass?

From: Date: Sat, 03 Apr 2010 15:14:58 +0000
Subject: Re: GetElementByClass?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-303788@lists.php.net to get a copy of this message
Somejavascript engine already support GetElementByClass, for example Opera does.
My example shows how, namely: document.getElementById("question").innerHTML; will return the value within the class. Cheers, tedd
In your original post, you said the data you had was: <p class="question"> Who is Roger Rabbit? </p> Does that still stand? or there was a typo, and class should really be ID? -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

« previous php.general (#303788) next »