0
onClick()事件圖片我想動態創建div並將圖片添加到該div。動態創建應該有背景顏色和一些文本請幫助。添加圖片動態創建div以顯示文字
此更新撥弄倒裝法http://jsfiddle.net/RQ62f/7/
#foobar
{
background-color: red;
content: div is here;
}
in Jquery,
$(this).appendTo('#foobar');
請幫
當我運行jsfiddle時,圖像無法找到。 – Laughing 2013-05-07 07:21:55