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

jQuery multiple events to trigger the same function

user408
1#
user408 Published in April 26, 2018, 7:52 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 that there is no way that the validation is missed weather 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.343453 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO