|
Does anyone know how to pass values from a popup window back to parent window?
I'm trying to make a username verification of whether the entered username already exists in my database.
I used document.getElementById plus window.open to pass the entered username to a popup window that is a php file. I can do the MySQL connection and checking there but I need to return something from the popup window back to the parent window so that I can stop form submission if the username already exists.
Any help would be appreicated.
|