How to call a function after textbox lose focus

前端 未结 3 1743
执念已碎
执念已碎 2021-02-19 20:03

I have no experience with Javascript/JQuery/AJAX so I\'m trying to understand if it\'s possible to call a function that execute a query on my DB after a textbox lose focus.

3条回答
  •  梦谈多话
    2021-02-19 20:14

    Bind a handler to the change event:

    
    

    where ajax_call is a function for updating the DB.

提交回复
热议问题