CodeIgniter Forums
Submit data in pop up window, close it and refresh parent page - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Submit data in pop up window, close it and refresh parent page (/thread-52712.html)



Submit data in pop up window, close it and refresh parent page - El Forum - 06-23-2012

[eluser]Unknown[/eluser]
I have a pop up window that has a form when the user submits the form on the pop up window it should close and refresh the parent page.

i have used
1.
Code:
<input type="submit" value="Submit" />
->which closes the popup window without submitting the form

2.
Code:
<input type="submit" value=submit" />
->which submits the form but the popup window becomes blank; "it turns white"


help?