There is a form. She sends everything, everything works fine.
But now I decided to shove the form in FancyBox and it stopped working, i.e. on POST neither of which sends or shows a window which, if POST worked, is drawn. Who faced? How to fix?


If you prescribe in the form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" , Then after clicking the "send" button, the form expands to full screen, like a normal page.

  • Usually, in the question, programmers leave the code they wrote and with which problems ..... And also indicate the version of the programs they work with .... for example, what version of fancybox ? And what code do you write that doesn't work as it should? - Alexey Shimansky

1 answer 1

solved the problem through the FancyBox iframe type