documentgetElementById('msginfo')styldisplay = 'block'; documentgetElementById('msginfo')innerHTML

document.getElementById('msginfo').style.display = 'block'; document.getElementById('msginfo').innerHTML