How to apply onblur event on dropdownlist?
18,508
Solution 1
you need to attach onblur
event on the client side with some javascript
$("mydropdown").blur(function(){
// here goes your code
}
Solution 2
Should work like this for instance:
What usualy is better is to trigger on select that can be done using jQuery librarfy to javascript. Here is an example.
how can select from drop down menu and call javascript function
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on June 22, 2022Comments
-
Admin about 2 years
I want to fire some javascript function when my focus is off from dropdown list.