Delete div content and add an iframe

In my application I want to remove div content and add iframe, here is my code

index.html

default.js function cif(){

$("#contents").remove();
$("#contents").html('');

}

when i remove div contents and after that create iframe it doesn’t show, I need that after clicking button remove the contents and after that in that contents create iframe

Hello, buddy!稿源:Hello, buddy! (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 前端开发 » Delete div content and add an iframe

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录