Posts by Marcos Costa • 11 points
3 posts
-
0
votes3
answers1564
viewsA: Event while taking the mouse out of the window
Try it on, it should do the trick. $('body').mouseleave(function(){ alert('Teste de evento'); });
-
1
votes3
answers164
viewsA: How to add a JSTL attribute under one condition?
I believe that expressions are not accepted. Do this check before sending the data by HTML, then you already bring the variable with the value ready. And it needs to bring "Selected" or "" for you…
-
0
votes1
answer61
viewsA: Doubt with Jquery and select
$(document).on('change', 'seletor do teu select' , function(e) { alert ( $(this).val() ); }); I don’t understand why you used H1 as a parameter, but this should show what you want.…