Eiolon Posted June 25, 2011 Share Posted June 25, 2011 I'm looking for a tutorial on how to refresh the contents of a select menu in real-time. I have a form for users to add options to the select menu on the fly without leaving the page, but at the moment they have to hit the refresh on the browser for it to appear in the menu. Quote Link to comment Share on other sites More sharing options...
gizmola Posted June 27, 2011 Share Posted June 27, 2011 Why don't you just force a refresh when they update? Are these additions so frequent that you can justify ajaxing what is typically a completely static list? Quote Link to comment Share on other sites More sharing options...
Eiolon Posted June 28, 2011 Author Share Posted June 28, 2011 I had thought about doing that, and auto saving the rest of the form every couple of seconds so the refresh of the form wouldn't delete the contents. I was just trying to make it seemless to the end user. And yes, typically a new addition will be added to the list whenever the form is filled out. 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.