Home jQuery multiple events to trigger the same function
Reply: 0

jQuery multiple events to trigger the same function

user395
1#
user395 Published in August 14, 2018, 8:27 am

Is there a way to have keyup, keypress, blur, and change events call the same function in one line or do I have to do them separately?

The problem I have is that I need to validate some data with a db lookup and would like to make sure validation is not missed in any case, whether it is typed or pasted into the box.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.497882 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO