Be sure to set up your HTML document for jQuery before adding any jQuery code. You can adjust the color of pictures, as well as fix red-eye and crop out unwanted parts of an image. Now, we are going to create a button to open a modal but the button will work on JavaScript onclick event. The id string is used by the modal service to keep track of each active modal in the angular app, so the service knows which modal to open/close based on the id passed to the modalService.open() and modalService.close() methods e.g. Example. Ajax Login Script with jQuery, PHP MySQL and Bootstrap. So, when a user will click the link, the modal popup will be displayed. If you are Japanese, you may want to read the following article instead. Name Email Password. Open Modal Popup Using Typescript and Bootstrap – Download and use the Bootstrap CDN to deliver Bootstrap's compiled CSS and JS to your project. Other related Bootstrap's modal methods are modal ('show') and modal ('toggle'). Use these plugins to create customized, responsive modals and popups for your website or app. On click of the button in the anchor tag, it should grab the URL found in the anchor tag If the URL is valid and on success, it will grab the id of the target modal and pass the contents of the URL to the body of the modal JQuery Modal is an overlay dialog box or in other words, a popup window that is made to display on the top or ‘overlayed’ on the current page.