Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Submit form issue with FancyBox

Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

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.
Our first order of business must be this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic