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. Link to comment https://forums.phpfreaks.com/topic/240390-jquery-how-to-refresh-a-select-menu-contents/ 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? Link to comment https://forums.phpfreaks.com/topic/240390-jquery-how-to-refresh-a-select-menu-contents/#findComment-1235687 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. Link to comment https://forums.phpfreaks.com/topic/240390-jquery-how-to-refresh-a-select-menu-contents/#findComment-1235940 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.