Menu icon Foundation
Reveal ajax via JS

$('#myModal').foundation('reveal', 'open', { url: 'http://some-url', data: {param1: 'value1', param2: 'value2'} });

Hello Reveal Modal via Javascript seams to not fire the jquery ajax
I tried this in the document ready function but an empty modal is shown and in the consol no ajax request is send

revealmodal

$('#myModal').foundation('reveal', 'open', { url: 'http://some-url', data: {param1: 'value1', param2: 'value2'} });

Hello Reveal Modal via Javascript seams to not fire the jquery ajax
I tried this in the document ready function but an empty modal is shown and in the consol no ajax request is send