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?? Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.