开发者

How to use jquery click your browser turn off a layer at any position

开发者 https://www.devze.com 2023-01-15 17:29 出处:网络
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 hid

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>
0

精彩评论

暂无评论...
验证码 换一张
取 消