How could I achieve the following:
document.all.regTitle.innerHTML = 'Hello World';
Using jQuery where regTitle
is my div ID?
转载于:https://stackoverflow.com/questions/1309452/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?
转载于:https://stackoverflow.com/questions/1309452/how-to-replace-innerhtml-of-a-div-using-jquery
$("#regTitle").html("Hello World");