Re: GetElementByClass?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 8:11 AM -0600 4/3/10, Peter Pei wrote:
On Sat, 03 Apr 2010 08:58:44 -0600, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> wrote:

On Sat, 2010-04-03 at 10:29 -0400, tedd wrote:
-snip-

Now, I can extract each question by using javascript --

document.getElementById("question").innerHTML;



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

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux