I am using a drop down list box with 2 possible values in a page fragment. My issue is that when the user selects the 2nd value in the drop down the event is triggered but the dropdown shows the 1st value in the top. I would like to show the value picked by the user in the top of the list. Please let me know if we can achive this functionality.
Thanks in advance.
Below is the code i am using.
<htmlb:dropdownListBox id = "LIST" nameOfKeyColumn = "NAME" nameOfValueColumn = "VALUE" width = "300" selection = "<%= doc_type %>" onSelect = "DDLB1Event" > <htmlb:listBoxItem key = "IC" value = "<%= otr(YP_HRPA/DOC_TYPE1) %>" /> <htmlb:listBoxItem key = "PM" value = "<%= otr(YP_HRPA/DOC_TYPE2) %>" /> </htmlb:dropdownListBox> <% CALL METHOD REQUEST->GET_FORM_FIELD EXPORTING NAME = 'LIST' RECEIVING VALUE = doc_type.