开发者

Skip one onblur function

开发者 https://www.devze.com 2023-04-06 08:32 出处:网络
I have problem with skipping one of two onblur functions. I have control with two onblur functions and in some condit开发者_如何学运维ions I have to skip first onblur function. The second function was

I have problem with skipping one of two onblur functions. I have control with two onblur functions and in some condit开发者_如何学运维ions I have to skip first onblur function. The second function was added with jquery. I can not change the first onblur function, only skip. Is there some way to do this? Sorry my english.


If the jquery event is added after the initial onblur event, you could call event.stopPropagation or event.stopImmediatePropagation to cancel event propagation depending on the structure when skip conditions are met.

0

精彩评论

暂无评论...
验证码 换一张
取 消