Re: GetElementByClass?
| From: | tedd | Date: | Sat, 03 Apr 2010 16:01:57 +0000 |
| Subject: | Re: GetElementByClass? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303785@lists.php.net to get a copy of this message | ||
At 8:11 AM -0600 4/3/10, Peter Pei wrote:
On Sat, 03 Apr 2010 08:58:44 -0600, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:My example shows how, namely: document.getElementById("question").innerHTML; will return the value within the class. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comOn Sat, 2010-04-03 at 10:29 -0400, tedd wrote:Somejavascript engine already support GetElementByClass, for example Opera does.-snip- Now, I can extract each question by using javascript -- document.getElementById("question").innerHTML;