I googled this question and couldn’t find an answer.
I am trying to have an alert appear when a user unfocuses off of any input on my form. I discovered the blur and focusout function so my code looks like:
$("input").blur(function() {
alert("Unfocused");
});
This works for my input fields no problem. But for my radio button inputs it doesn’t work. I looked through the docs and google and couldn’t figure out why.
Test this code.
Test with text and radio..
THIS DOESN’T WORK IN SAFARI AND CHROME BECAUSE THEY ARE WEBKIT BASED.