Jquery Nyromodal: Reloading page after popup?
-
29-10-2019 - |
سؤال
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.
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow