Answers for "onbeforeunload com mysql php"

PHP
0

onbeforeunload com mysql php

<script type="text/javascript">
window.onbeforeunload = function(){ 
    var id = document.reset.id.value;
    $.ajax({
        url: "Resetter.php",
        type: "GET",
        data: {'id':id},
        success: function (response) {
            alert(response);
        }
    });
}
</script>
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language