I need some help for a little jquery selector…
I need to call a function on keypress action, but I need to call this function only when the user isn’t in a <form>.
I try with $('body').not('form').keypress(getKey) but it doesn’t work
I tried with some combinaison of .not() selector but I didn’t do nothing well…
So if someone had an idea how I can do it…
Thanks you
http://jsfiddle.net/ExplosionPIlls/ZfAdk/