How to replace innerHTML of a div using jQuery?

How could I achieve the following:

document.all.regTitle.innerHTML = 'Hello World';
 

Using jQuery where regTitle is my div ID?

Text Copied From stackoverflow.com
on : Thu, Aug 20, 2009 Views : 1157952

Accepted Answer

$(#regTitle).html(Hello World);
 
Text Copied From stackoverflow.com
on : Thu, Aug 20, 2009

Ask Question

If you want to ask question you must LogIn or SignUp
Login SignUp

Quick Links

E-Magazines

@

Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..

Ok

Login to Open ESchool OR Create your account    Login   SignUp