Pergunta

I want to reload my page, or get the data from my popup result, but I have no clue how. I try to reload the page using:

<script type="text/javascript">

$(function() {
  $.nyroModalSettings({
    endRemove: function() {
      window.location.reload();
    }
  });
});

$(function() {
  $('.nyroModal').nyroModal();
});

</script>
<a href="test.php" title="Test" class="nyroModal">Test</a>

But when I use this, the popup does not 'pop-up' at all anymore, it simply opens the test.php in the same window.

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top