submit form in nyroModal with Firefox
I encounter a problem when I submit a form in a nyromodal context only with Firefox and when the action of the form points to an external URL. 1st step: open a nyromodal window
<html>
<head>
<title>Modal Test</title>
<link rel="stylesheet" href="styles/nyroModal.css" type="text/css" media="screen" />
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="js/jquery.nyroModal.custom.js"></script>
</head>
<body>
<a href="test-modal-embedded.html" class="nyroModal">Open Modal Window</a>
<script>
$(function() {
$('.nyroModal').nyroModal();
});
</script>
</body>
</html>
and the seconds step: submit a form in this nyromodal
<html>
<body>
<form name="myForm" action="https://secure.thewebsite.com/" class="nyroModal" target="_blank" method="post">
<input type="submit" value="submit form"/>
</form>
<script>
$(function() {
$.nmInternal({debug: true});
$('.nyroModal').nyroModal();
});
</script>
</body>
</html>
and the form is not submitted. Any idea or any clue? It works with Chrome and Safari.
The form test in iframe work great in Firefox in the demo page: http://nyromodal.nyrodev.com/
Could you provide a test link please?
Did you try in a secure context (https)?
I think it's a browser problem. Is the first page in a secure environment too? Could you provide a test page?