How to append elements and events to iframe

now think about the append close button in iframe

<iframe id="iframe" class="iframe" src="https://www.imanet.org.cn/e/" frameborder="0" scrolling="no">
</iframe>

  var close="<div class="close-survey" onclick="closesurvey()"></div>"
           
    $("-sharpiframe").contents().find("body").append(close)

it"s no good to write this way

Mar.07,2021

$('-sharpiframe')[0].contentWindow.find('body')
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b353b4-2bf7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b353b4-2bf7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?