javascrip on click create modal form code example Example: how to make popup modal in jquery with example $('#sub-modal').modal({ closeExisting: false });