changing html inside a div

by Prakash 2013-01-21 16:10:26

Changing HTML inside a div using javascript is as follows

Html part :


<div id="content"></div>

javascript part :

document.getElementById'content').innerHTML='Hello';

Tagged in:

952
like
0
dislike
0
mail
flag

You must LOGIN to add comments