How to use jquery开发者_StackOverflow click your browser turn off a layer at any position?I trying 6 hour is Unsuccessful..
Hiding an element is pretty straight forward, just select it and call the hide
method. Example:
<script>
$(function(){
$('#ElementToClick').click(function(){
$('#ElementToHide').hide();
});
});
</script>
<div id="ElementToClick">Clicking me...</div>
<div id="ElementToHide">...hides me</div>
精彩评论