如何使用jQuery替换div的innerHTML?
问题描述:
如何实现以下功能:
How could I achieve the following:
document.all.regTitle.innerHTML = 'Hello World';
使用jQuery其中 regTitle
是我的div ID ?
Using jQuery where regTitle
is my div ID?
答
$("#regTitle").html("Hello World");