Post

1 follower Follow
0
Avatar

How to render podio form inside modal box

I would like to render podio form after click in modal window (I use Foundation).

Podio render script doesn't render in the modal window, but rerenders whole page and shows up just the form, the rest of the page disappears.

my code:

$('.form-open').click(function(){
$.getScript('http://path.to.script.js')
.done(function( script, textStatus ) {

  var header = '<h2>Header</h2>';
  $('.podio-form-1').append(header);
  window._podioWebForm.render("12345678");
});

});

Tomas Beloch

Please sign in to leave a comment.