Re: [PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Jason Davidson
Why not just use some javascript to put the new value right into the drop down, provided the db query went thru sucessfully, this shouldnt be an issue right. on the popup window, after you insert the new record, get the last inserted id, use php then to generate some JS that will push that new rec

Re: [PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Justin Patrin
On Thu, 22 Jul 2004 18:11:21 -0400, Vern <[EMAIL PROTECTED]> wrote: > I have a page where a user comes to the page and submits a form after > filling it out with dropdown menus that are dynamically driven and get their > info form out tables. > > Now there are times when some one needs to add to t

Re: [PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Matthew Sims
>> POST data from form fields are usually only sent through a submit >> request. >> Maybe changing you Javascript refresh to a submit that redirects back to >> the same page might help? > > Is there a way to do that? Any examples? > I believe Javascript is capable of performing a submit...but if t

Re: [PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Vern
> POST data from form fields are usually only sent through a submit request. > Maybe changing you Javascript refresh to a submit that redirects back to > the same page might help? Is there a way to do that? Any examples? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Matthew Sims
> I have a page where a user comes to the page and submits a form after > filling it out with dropdown menus that are dynamically driven and get > their > info form out tables. > > Now there are times when some one needs to add to this drop down list so I > have a separate page open up that allows

[PHP] Retain form values on using javascript:window.opener.location.reload()

2004-07-22 Thread Vern
I have a page where a user comes to the page and submits a form after filling it out with dropdown menus that are dynamically driven and get their info form out tables. Now there are times when some one needs to add to this drop down list so I have a separate page open up that allows the user to a