javascriot html eqaul to jquery

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

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