What are the significant differences between these functions? On what basis to decide, which of these to use?
What are the significant differences between these functions? On what basis to decide, which
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.
onis used to attach a function to an event, on some element(s).http://api.jquery.com/on/
onedoes the same, but as soon as it is run once, the action is unbinded.http://api.jquery.com/one/
triggertriggers an event on any element.http://api.jquery.com/trigger/