Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use |method="post"| in Remodal? #29

Closed
ali-star opened this issue Jul 21, 2014 · 2 comments
Closed

how to use |method="post"| in Remodal? #29

ali-star opened this issue Jul 21, 2014 · 2 comments
Labels

Comments

@ali-star
Copy link

hi how to use |method="post"| in Remodal like this:

<form class="form-4" action="signin.php" method="post">
...
...
</form>

its not work when i presing ok button.

@vodkabears
Copy link
Owner

@ali-star Sure? In fact, when you press confirm button, it doesn't send any data from your form, that's normal, remodal is universal modal.

Look at the events: https://github.com/VodkaBears/Remodal#events. Use this one:

$(document).on('confirm', '.remodal', function () {
    $(this).find("form").submit();
});

@9re
Copy link

9re commented Jun 24, 2019

Now the event has changed to confirmation.

$(document).on('confirmation', '.remodal', function () {
    $(this).find("form").submit();
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants