javascriot html eqaul à jQuery
// Jquery
$('#frmPasswordResetAlert').html(msgHTML);
// Equivalent in Vanilla Js
document.getElementById('frmPasswordResetAlert').innerHTML = msgHTML;
Smiling Starling