原将元素从iframe中拖拽到上层网页的任意位置。
iframe代码: json
<!doctype html> <html> <head> <meta charset="utf-8"> <title>HTML文档</title> <meta name="keywords" content=""> <meta name="description" content=""> </head> <body> <div draggable='true' id="hahaha" class="box"> ddddd </div> <div draggable='true' id="hahaha2" class="box"> ddddd </div> <script> /** Iframe code **/ //say you have this div inside…
近期评论