Copy and Paste screenshot to div using javascript
<html> <head> <script language=”javascript” src=”scripts/jquery-3.0.0.min.js”></script> <script> $(document).ready(function(e) { $(“#textareaid”).bind(“paste”, function(e){ var items = (e.clipboardData || e.originalEvent.clipboardData).items; console.log(JSON.stringify(items)); // will give you the mime …