Empêcher la rafraîchissement de la page
// Can be implemented via window.onbeforeunload.
// For example:
<script type="text/javascript">
window.onbeforeunload = function() {
return "Are you sure you want to leave?";
}
</script>
Doge Amazedo