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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

這是哪里錯(cuò)了 怎么點(diǎn)擊沒反應(yīng)啊

<!DOCTYPE html>

<html>


<head>

? ? <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

? ? <title></title>

? ? <script src="http://idcbgp.cn/static/lib/jquery/1.9.1/jquery.js"></script>

? ? <style>

? ? .left,

? ? .right {

? ? ? ? width: 300px;

? ? ? ? height: 120px;

? ? }

? ??

? ? .left div,

? ? .right div {

? ? ? ? width: 100px;

? ? ? ? height: 90px;

? ? ? ? padding: 5px;

? ? ? ? margin: 5px;

? ? ? ? float: left;

? ? ? ? border: 1px solid #ccc;

? ? ? ? background: #bbffaa;

? ? }

? ? </style>

</head>


<body>

? ? <h2>通過clone克隆元素</h2>

? ? <div class="left">

? ? ? ? <div class="aaron1">點(diǎn)擊,clone淺拷貝</div>

? ? ? ? <div class="aaron2">點(diǎn)擊,clone深拷貝,可以繼續(xù)觸發(fā)創(chuàng)建</div>

? ? </div>

? ? <script type="text/javascript">

? ? ? ? //只克隆節(jié)點(diǎn)

? ? //不克隆事件

? ? $(".arron1").on('click', function(){

$(".left").append( $(this).clone().css('color','blue') );

});

? ? </script>

? ? <script type="text/javascript">

? ? //克隆節(jié)點(diǎn)

? ? //克隆事件

? ? $(".arron2").on('click', function(){

$(".left").append( $(this).clone(ture).css('color','red') );

});

? ? </script>

</body>


</html>


正在回答

3 回答

我也是少了一個(gè)a,花了半個(gè)小時(shí)檢查沒出問題。生氣~~~~~~~~~

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

把第一個(gè)r換成a

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

走眼了? class命名少了個(gè)a? 找半天才發(fā)現(xiàn)...

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

舉報(bào)

0/150
提交
取消

這是哪里錯(cuò)了 怎么點(diǎn)擊沒反應(yīng)啊

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

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

幫助反饋 APP下載

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

公眾號(hào)

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