Select hidden elements
Description
The following code shows how to select hidden elements.
Example
<html>
<head>
<style>
.test {<!--from w w w . j a va 2s . co m-->
border: 1px solid red;
}
</style>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("div:hidden").show(3000);
});
</script>
</head>
<body>
<span></span>
<div></div>
<div style="display: none;">Hider!</div>
<div></div>
<div class="starthidden">Hider!</div>
<div></div>
<form>
<input type="hidden" /> <input type="hidden" /> <input type="hidden" />
</form>
<span></span>
</body>
</html>