<!DOCTYPE html> | |
<label id="label"> | |
<script> | |
var label = document.getElementById("label"); | |
var doc = document.implementation.createDocument("", null); | |
doc.adoptNode(label); | |
var mouseEvent = document.createEvent('MouseEvent'); | |
mouseEvent.initMouseEvent("click", 56644); | |
label.dispatchEvent(mouseEvent) | |
</script> |