focusout not triggering when clicking on another selector with a click

Posted by Sean on Stack Overflow See other posts from Stack Overflow or by Sean
Published on 2010-04-18T17:29:21Z Indexed on 2010/04/18 17:33 UTC
Read the original article Hit count: 168

Filed under:
|
|

I have 2 divs that each have clicks bound to them. when you click on a div a form is displayed (in another div) that allows you to set properties specific to the div that is clicked.

I'm using focusout to save the properties to a data object. everything is working perfectly except when i click on the other div. it seems that the click handler on the other div cancels out the focusout of the form field.

Has anyone else experienced this? is so what is the proper way to overcome this?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about focus