Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Two modal contents are present on a page. How to avoid? #19

Open
wzup opened this issue Feb 24, 2015 · 4 comments
Open

Two modal contents are present on a page. How to avoid? #19

wzup opened this issue Feb 24, 2015 · 4 comments

Comments

@wzup
Copy link

wzup commented Feb 24, 2015

You provide an option target. Ок, nice option. But with this option two modal contents are on the page. The one is a mark-up of modal content that is target, you suggest to use attribute style="display: none;" (see your Modal example 2). And the second one is that markup inside the
generated modal.

I have a button in my modal. And so that I end up with two buttons on the page with the same id attribute. And of course jQuery selector by ID doesn't work. What do you suggest how to avoid it? Or do you consider two modal content on the page is normal?

The same question on Stackoverflow: http://stackoverflow.com/questions/28714086/pgwmodal-using-a-trigger-option-duplicates-a-html-markup-of-a-content-of-a-moda

@wzup
Copy link
Author

wzup commented Mar 2, 2015

6 days

@adahox
Copy link

adahox commented Dec 22, 2015

someone finded the awnser? i've the same problem

@adahox
Copy link

adahox commented Dec 29, 2015

anyone finded solution for this bug?

@wzup
Copy link
Author

wzup commented Dec 30, 2015

9 months )))

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

No branches or pull requests

2 participants