This is not clear in your question why the menu is hide....
if this is for apply css property then maybe it can be work
try this
$(document).ready(function() {
document.getElementById('#mydiv').css('display', 'block');
});
Or you can put your script in jquery load event
http://api.jquery.com/load-event/[
^]