close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Don't wait in line!

Buy your movie tickets online. Find reviews, trailers, and more at Fandango.
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
    全站熱搜
    創作者介紹
    創作者 omoss 的頭像
    omoss

    中視聶小倩線上看 , 聶小倩線上看第二集 , 聶小倩 中視 , 聶小倩電視劇 , 聶小倩

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