I understood. I am giving you a simple example..Check it..
myExample.jsp
-------------
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<html:html>
<head>
<script type="text/javascript">
function getTheValue(){
var Index = document.myForm.user.selectedIndex;
var Value = document.myForm.user.options[Index].text;
alert(Value);
}
</script>
</head>
<body>
<form action="" name="myForm">
<html:select name="user" property="user" onchange="getTheValue()">
<html
ption value="ibm">IBM</html
ption>
<html
ption value="lenovo">Lenovo</html
ption>
</html:select>
</form>
</body>
</html:html>
run this jsp page and let me know whether this is your requirement or not.. :-)
Thanks,
Gayathri Chowduru.