Clear contents of Div Tag using JavaScript

Hi to all,

I am still learning Javascript and was wondering how I would clear the contents of a div tag?

I am using Visual Studio 2008 as well as the JQuery Library.

Thanks
ALawrence007Asked:
Who is Participating?
 
Gibu GeorgeConnect With a Mentor Chief Technology OfficerCommented:
document.getElementById().innerHTML='';
0
 
ALawrence007Author Commented:
Thanks gibu_george,
Easy and simple..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.