I am using FancyBox implementation (FancyBox) in my project to prompt user to upload the needed files and upon submitting the form in fancybox, it's properly getting submitted. Now after submitting the form the fancybox will get closed and the parent window will be get updated.
My issue is, the form gets submitted inside the fancybox itself and fancybox content get updated instead of parent window. I use iframe to open FancyBox.
Please see the code
The fancybox page name is fancyfiles.jsp
Inside this JSP i have a function like this to submit the form :
The Parent JSP name is submitfiles.jsp
Please help me to resolve this. The form inside the fancybox will get submitted, fancybox will get closed and the update will happen only on parent page. Now i am able to submit the form and close the fancybox, but cant able to get the parent windoe get updated. Even tried the page reload but still of no use.
Never try to be a hard-worker. Be a smart-worker.
Our first order of business must be this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop