highchartsdude highchartsdude - 2 months ago 5x
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 :)