Hi
I want to display all the city from a MySQL Database in a combo-box and put a "Add" link that open a new sub-window to be able to add a new city in the database. When all of the informations are correctly enteted in the sub-window, it close and send back the information to the main window.
So my question is this one: I really don't know how to send back the information to the main window and refresh the combo-box without reset the form? If someone can help me to get me in the right way, it will be a pleasure.
Thanks.
Refresh without reset form
Moderator: General Moderators
You can't as far as I know.
You can recall the database, and put in it's default values, but you need the server to send the information. But you can store the info in for example a session, that you can later use when going back to the old page.
Perhaps a javascript guru can make this happen with an inputbox script, but that is beyond me.
You can recall the database, and put in it's default values, but you need the server to send the information. But you can store the info in for example a session, that you can later use when going back to the old page.
Perhaps a javascript guru can make this happen with an inputbox script, but that is beyond me.