data=<iframe frameborder="0" src="http://www.taobao.com" width="200" height="260"></iframe>;
$("#previewDiv").html(data);
这为什么不工作呢。。
someone who can help me please.
我看到是里面的引号导致格式乱掉了,如果解决这个问题呢?
.html("<iframe frameborder="0" src="http://www.taobao.com" width="200" height="260"></iframe>")