gdfhghjdfghgfhf Posted April 6, 2008 Share Posted April 6, 2008 ok i have a weird problem, i don't know how to explain it so here is my situation: I have a page to add events on a calendar for music shows (a form with a submit button)... On this page, the users adding an event must select the bands from a listbox. This listbox displays the bands from a table in my database. If a band present in this show is not listed, the users can click a link that will open a popup (i can put it on the same page too), and they can add a band to the database, so it will be listed with the others in the listbox. My problem is that after the band is added to the database, my users dont see it in the listbox unless they refresh the page, and if they do they will loose all datas they entered (descriptions, flyer, date, category, etc) How could I avoid this? I thought about javascript, but since the content of the listbox is from a SQL query, it won't work right? I thought about putting the listbox inside a iFrame, but then it won't be included in the form since it's a different page... any suggestions? Quote Link to comment Share on other sites More sharing options...
gdfhghjdfghgfhf Posted April 8, 2008 Author Share Posted April 8, 2008 bumppppppp Quote Link to comment Share on other sites More sharing options...
gdfhghjdfghgfhf Posted April 9, 2008 Author Share Posted April 9, 2008 any ideas?! Quote Link to comment Share on other sites More sharing options...
gdfhghjdfghgfhf Posted April 12, 2008 Author Share Posted April 12, 2008 help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.