Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

207
Views
How to know drag-drop is outside of browser-window?

I try to check if a draggable element is dropped outside the browser-window. Is that possible? I do not know how to thet that info out of the event of ondragend.

<!DOCTYPE html>
<html>
<body>
<script type="text/javascript">
function foo (txt, e)
{
    console.log (txt, e);
}
</script>

<div style="border:2px red solid; width: 200px;" draggable="true"  
  ondragstart="foo('start', event)"
  ondragend="foo('end', event)">
  abc<br>xzy
</div>
</body>
</html>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!