Sometimes you will need Prevent Default Behaviour of the browser so that you can assign your custom functionalities to handle any event. For example: in your page you have some article links which will take you to the article pages when clicked. But you want to show the articles in the same page with a Modal. So first you will have to Prevent default behaviour for your article links. Otherwise the browser will take you to the article page when the link is clicked. And then you can display the articles in the same page using Modal.
In this lesson we will learn how to make the entire List Item clickable using jQuery which is a very easy task to do and important for better user experience.
If you are building a big web application ( whatever ), then sometimes you need to open your links (especially external links) in a new window because you want to keep the users at your site as long as possible. In this lesson we will learn how to Open external links in a new window using jQuery.