attach click event to html element

Using jQuery, this is how you attach a click event to an element with id ‘confirm_btn’: