How to get div onblur event to execute a javascript function?

后端 未结 5 856
说谎
说谎 2020-12-14 03:29

Hi I have a div that contains three textboxes , i need a function to be called once the control is out of the div tag, I don\'t want to use the onclick event because the foc

5条回答
  •  独厮守ぢ
    2020-12-14 03:56

    Perhaps an "onChange" event would better serve your needs. I can't think of a situation where the DIV would be clicked, and not the input fields.

提交回复
热议问题