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

appendTo #296

Open
jgilligan113 opened this issue Jun 26, 2019 · 0 comments
Open

appendTo #296

jgilligan113 opened this issue Jun 26, 2019 · 0 comments

Comments

@jgilligan113
Copy link

seems using the following is not working for me. Has this issue been reported? I see this one as well, but if there is a method to change the element appended to in the options I'd like to control that per instance of remodal.

It is a bad idea, but you can do it. Move the block of the modal to the specific div with detach and appendTo jquery methods.

<div class="remodal" data-remodal-id="modal_id" data-remodal-options="appendTo: document.getElementById('day1')">

replacing document.body with a form element with the id of 'day1'

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

No branches or pull requests

1 participant