Modal Foundation via URL

0

I need to open a modal zurb-foundation via URL . For example link

Follow the code:

Html:

<a href="#modal99">Show Modal</a>

JavaScript:

 $('#modal99').foundation('open');

The code does not open the modal.

Note: I can not use <a data-open="modal99">Show Modal</a> . And neither% with%. It has to be via <a id="modal99">Show Modal</a> .

    
asked by anonymous 31.10.2016 / 13:23

0 answers