Try: $.modal.close();
Matt On Nov 19, 12:02 pm, tiny_jason <[EMAIL PROTECTED]> wrote: > 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();