Hi,
The HTML select tag does not have an onSelect event, but a onChange one.
Besides, I suggest you use <bsp:htmlbEvent> tag to generate the javascript that will trigger the server event.
Please check this sample code:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<%@extension name="bsp" prefix="bsp"%>
<htmlb:content design="design2003">
<htmlb:page title = " ">
<htmlb:form>
<% data event_code type string. %>
<bsp:htmlbEvent event_defined="testSelect" event_code="<%=event_code %>" />
<salect id="test" onChenge="<%=event_code %>;">
<option id="test1">Test1</option>
<option id="test2">Test2</option>
<option id="test3">Test3</option>
</select>
</htmlb:form>
</htmlb:page>
</htmlb:content>
Regards,
Tanguy