Interviewer And Interviewee Guide

jQuery Mobile Interview Question:

Can you please explain the difference between event.PreventDefault and "return false"?

Submitted by: Muhammad
e.preventDefault() will prevent the default event from occurring, e.stopPropagation() will prevent the event from bubbling up and return false will do both.
Submitted by: Muhammad

Read Online jQuery Mobile Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.