Prev: CPA AFFILIATE NETWORKS AWESOME EARNINGS FROM YOUR HOME
Next: How to ensure memory leak protection?
From: Haris Bogdanovi� on 20 Jul 2010 10:46 Hi. Why doesn't this piece of code work ? When I click on the <td> it doesn't change the text. <td onclick="this.innerhtml = 'new text';">text</td> Thanks
From: Martin Honnen on 20 Jul 2010 11:21 Haris Bogdanovi� wrote: > Why doesn't this piece of code work ? > When I click on the <td> it doesn't change the text. > > <td onclick="this.innerhtml = 'new text';">text</td> The property is called 'innerHTML', not 'innerhtml'. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|
Pages: 1 Prev: CPA AFFILIATE NETWORKS AWESOME EARNINGS FROM YOUR HOME Next: How to ensure memory leak protection? |