Posts by Karl Frascari • 61 points
2 posts
-
1
votes4
answers8659
viewsA: Receive real-time input value
Talks brother, I think jQuery would help you a lot in this case: If you want Ubmit to be activated when Focus exits your field: $("#seuCampo").blur(function(){ alert(Sua função com o retorno do…
-
5
votes1
answer7000
viewsA: Treat event when closing browser
To open a prompt asking if Voce wants to quit: window.onbeforeunload = function(){ return 'Você tem certeza que deseja sair?'; }; If you have used Jquery: $(window).bind('beforeunload', function(){…