tonyf tonyf - 1 year ago 157
Javascript Question

How to replace innerHTML of a div using jQuery?

How could I achieve the following:

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

using jQuery where
is my div ID?

Zed Zed
Answer Source
$("#regTitle").html("Hello World");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download