A data entry person is putting email address into a form and it would be helpful if the form submitted each time he pasted in an address so it would be ready for the next paste. Other code within the setTimeout also works fine--just not the form submission. Thanks in advance for your help.
$("#email").on("paste", function(){
setTimeout(function () {
$("#cancelemail").submit();
}, 0);
});
<form action="done.php" method="post" id="cancelemail">
Address to be removed: <input id="email" name="email" type="text" />
<input type="submit" name="submit" value="Remove">
</form>