Modal dialog code not embedding
Hi all.
I have an application that loads a php file which contains a modal form that I copied from this example:
The problem is that when I load that file I can see the code of the modal dialog there, I mean the form before calling if, before pressing the button, as it its html code was part oft the whole page. If then I reload the whole page then the content of the modal disappears and everything appears as it should be. Seems like, when loading, the dialog html is not detected as to not no be shown.
Anyone found this problem before?
Thanks in advance.