Your code is running async and your treating it as synchronous code, very good solution mouse down event has done the job basically i want to something to done before blur event so mouse down worked for me Thanks. WebYou can then delete the keys not being allowed and proceed to process the request. The value of the attribute is the order number of the element when Tab (or something like that) is used to switch between them. How can you prevent propagation of events from a MUI (v4) Slider Component. ADMs FSR 2.0 is not working as it should or if it is, then Respawn did a poor job implementing it in Jedi Survivor. click event triggers after the blur so the link gets hidden. Instead of click use mousedown it will work. $ ('.ShippingGroupLinkList').live ("mousedown", function (e) { alert ('You wont see me if your cursor was in the text box'); }); Other alternative is to have some delay before you hide the links on blur event. How do I check whether a checkbox is checked in jQuery? Its Event.target property will be set to the current EventTarget. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. This is better because it doesn't change the click behavior by making things happen on mouse down instead of mouse up, which can be unexpected. For instance, we cant put onfocus on the