I am using the popupwindow plugin for jquery to show a form in a popupwindow.
How can I close this window after submitting?
This is the link I am talking about.
I can open a link in a pupup window. But after submitting I want it to open in its parent window.
I am using the popupwindow plugin for jquery to show a form in a
Share
You can attach the behavior to your link, in the popup-ed page:
Additionally, I recommend you to use Javascript in an unobtrusive way instead of using the simple line above.
About that “Fade” operation; You can’t do such a thing to the OS window using Javascript (no matter what).
Update: Assuming the form with id property
theChildFormand using jQuery: