girlzz Posted July 28, 2008 Share Posted July 28, 2008 i'm sorry if i post my question at the wrong thread... in my html form i have a drop down menu... if i select one of the drop down item, then i hit the enter key to retrieve data from database,my drop down menu will return to default... why is this happen?? how i want it to remain when i hit the enter key?? Link to comment https://forums.phpfreaks.com/topic/117010-drop-down-return-default-menu/ Share on other sites More sharing options...
adam84 Posted July 28, 2008 Share Posted July 28, 2008 does the page refresh? If it does, then you must loop through the drop down box options and select which option is currently selected Link to comment https://forums.phpfreaks.com/topic/117010-drop-down-return-default-menu/#findComment-601888 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.