JavaScriot html eqaul para jQuery

// Jquery 
$('#frmPasswordResetAlert').html(msgHTML); 

// Equivalent in Vanilla Js
document.getElementById('frmPasswordResetAlert').innerHTML = msgHTML;
            
Smiling Starling