Someone tell me the difference between .submit() vs :submit. When & where to use with a simple example please.
Thanks
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.
.submit()is a method. That means you need to call it when you want to trigger a form submission:submitis a selector helper to find specifically buttons that submitsYou can find very valuable examples on the jquery doc pages linked in my answer.