How could I achieve the following:
document.all.regTitle.innerHTML = \'Hello World\';
Using jQuery where regTitle is my di
regTitle
di
Example
$( document ).ready(function() { $('.msg').html('hello world'); });
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> </head> <body> <div class="msg"></div> </body> </html>