highchartsdude highchartsdude - 5 months ago 45
Javascript Question

How do I close the other modal dialog box?

I have the following example http://jsfiddle.net/zidski/Mz9QU/1/

If you click on Link2 and then Link1 I want Link2 box to close.

Can anyone help?


I forked your fiddle

The fix just involves calling your close_model() function before the show_modal() function to close any other open modals before opening the new one :)