Skip to content

Instantly share code, notes, and snippets.

@blatyo
Created August 13, 2009 18:47
Show Gist options
  • Select an option

  • Save blatyo/167381 to your computer and use it in GitHub Desktop.

Select an option

Save blatyo/167381 to your computer and use it in GitHub Desktop.
<html>
<head>
<title></title>
<script type="text/javascript" language="javascript" charset="utf-8">
function test(){
var div = document.getElementById('div');
div.style.visibility = 'hidden';
alert(div.style.visibility);
}
</script>
</head>
<body onload='test()'>
<div id='div'></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment