Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (20.3k points)

How could I achieve the following:

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

Using jQuery where regTitle is my div ID?

1 Answer

0 votes
by (40.7k points)

Try using the code given below:

$("#regTitle").html("Hello World");

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...