第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

怎么點擊 “直接hide” 沒反應(yīng)?(已解決)

<!DOCTYPE?html>
<html>

<head>
????<meta?http-equiv="Content-type"?content="text/html;?charset=utf-8"?/>
????<title></title>
????<style>
????.left?div,
????.right?div?{
????????width:?100%;
????????height:?50px;
????????padding:?5px;
????????margin:?5px;
????????float:?left;
????????border:?1px?solid?#ccc;
????}
????
????.left?div?{
????????background:?#bbffaa;
????}
????
????.right?div?{
????????background:?yellow;
????}
????</style>
????<script?src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script>
</head>

<body>
????<h2>hide</h2>
????<div?class="left">
????????<h4>測試一</h4>
????????<div?id="a1">hide操作</div>
????????<button>直接hide</button>
????????<script?type="text/javascript">
????????//點擊buttom1?直接隱藏
????????$("button:first").click(function()?{
????????????$("#a1").hide()
????????});
????????</script>


????????<h4>測試一</h4>
????????<div?id="a2">hide動畫操作</div>
????????<button>hide帶動畫</button>
????????<script?type="text/javascript">
????????//點擊buttom2?執(zhí)行動畫隱藏
????????$("button:last").click(function()?{
????????????$("#a2").hide({
????????????????duration:?3000,
????????????????complete:?function()?{
????????????????????alert('執(zhí)行3000ms動畫完畢')
????????????????}
????????????})
????????});
????????</script>
????</div>
</body>

</html>

有大佬知道嗎?

=========分割線==========

雖然我也不知道為什么我瀏覽器上沒用,但是把代碼復(fù)制到這里

http://www.w3school.com.cn/tiy/t.asp?f=jquery_manipulation_unwrap

就可以有效果了


正在回答

4 回答

把<script src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script>改成
<script src="https://libs.baidu.com/jquery/1.9.1/jquery.js"></script>就可以在瀏覽器上運行了

0 回復(fù) 有任何疑惑可以回復(fù)我~

好的懂了


0 回復(fù) 有任何疑惑可以回復(fù)我~

<h2>hide</h2>

????<div?class="left">

????????<h4>測試一</h4>

????????<div?id="a1">hide操作</div>

????????<button>直接hide</button>

他后面少一個這 ---------------------</div>

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

兮蓅 提問者

沒有少的,把<script src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script>改成 <script src="https://libs.baidu.com/jquery/1.9.1/jquery.js"></script>就可以在瀏覽器上運行了
2018-02-10 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

怎么點擊 “直接hide” 沒反應(yīng)?(已解決)

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號