Recommended use:
$("#id").show ();
$("#id").hide();
Deprecated:
document.getElementById("#id").style.display = 'none';
document.getElementById("#id"') .style.display = 'block';
Because there is a line error when switching between different browsers using the setting .style.display;