Question

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.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top