There are two input elements:
<input name="in1">
<input name="in2">
I would like to do something when the mouse is BLUR from one of the INPUT, but not FOCUS on those two INPUT. Something like:
$("#main_part").on(
// "blur","input[name=in1], input[name=in2]",
// "not focus", "input[name=in1], input[name=in2]",
function(){
alert("working");
});
How to solve this? Thanks.
$("input[name=in1]").blur(function(){
alert("1 working");
});
$("input[name=in2]").blur(function(){
alert("2 working");
})
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.