Source code

Revision control

Other Tools

<?xml version="1.0" encoding="utf-8"?>
<head>
<title>Reload during cross page drag and drop with text/uri-list data</title>
<style type="text/css">
div[ondragstart]
{width:40px;
min-height:40px;
margin-top:20px;
padding:40px;
color:white;
background-color:navy;}
</style>
</head>
<body>
<div draggable="true" ondragstart="event.dataTransfer.effectAllowed = 'copy';event.dataTransfer.setData('text/uri-list','data:text/plain,PASS');window.location = '023-1.xhtml'"/>
<p>Drag blue box. You should be redirected to the new page and be able to drop it there.</p>
</body>
</html>