When calling the close function in javascript it throws an error. I
dont want to have to have an <a> tag to close the modal. How do i just
call a function to close the modal in js? Heres the  code i use:

shows modal:
$('#modalDealerContent').modal();

To close modal:
$('#modalDealerContent').modal.close();

Reply via email to