How can i define my own event in jQuery?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Define and attach your own custom events with
.bind():…then
.trigger()them directly:…or mixed in with other event handlers:
You shouldn’t have trouble finding a lot of information on the subject. This article is a couple of years old, but still a good overview.