JSFiddle - React, Tailwind, and code Playground

by rjurd

HTML

<div>
    2011-09-01 13:21:26, Info                  CBS    Applicability(ComponentAnalyzerEvaluateSelfUpdate): Component: amd64_microsoft-windows-win32k_31bf3856ad364e35_6.1.7601.21634_none_178d7c1cca542bad, elevate: 2, applicable(true/false): 0
    2011-09-01 13:21:26, Info                  CBS    Appl: SelfUpdate detect, component: 
    
</div>

<form method='' action=''>
    <textarea id='drop'></textarea>
</form>

JavaScript

function dragDropListener(evt) {
    alert("Drop Event Captured!");
    evt.preventDefault();
    evt.stopPropagation();
}

window.captureEvents(Event.DRAGDROP);

window.addEventListener("dragdrop", dragDropListener, true);

$('div').bind('dragdrop', function() {
    alert(Event.DRAGDROP);
});