close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Manage your social media

Best social media tool for image publishing to Facebook and Twitter. Look amazing and delight your followers. Get 40% off when you sign up today.
From our sponsors
jQuery如何做到div的切換呢?
Sep 22nd 2013, 17:36


        我想要當我點擊圖片的時候,
        網頁的div區塊可以換成另一個div , 可是我jQuery不知道是哪裡寫錯了ˊˋ..
        假設我點photo1,我的#maingallery的div要替換成#abc的div

        $("#photo1").click(function(){
                $("#maingallery").replaceWith($("#abc"));
                  });

        #maingallery這個div我想換成#abc這個div

        請問我是不是哪邊寫錯了呢?

        請多多指點迷津,感激不盡 m(__ __)m

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends:

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 qfasff 的頭像
    qfasff

    線上遊戲排行榜2013/2014,進擊的巨人線上看,candy crush saga外掛,正妹寫真三圍

    qfasff 發表在 痞客邦 留言(0) 人氣()