Hi,
I have a <rich:select> in my .xhtml page and a java script function.I want to retrive the value , which is selected in the <rich:select> in the java script function.
< script type="text/javascript"> function test(){ // how to get the value of selected item } </script>
<rich:select onChange="test();" value="#{newSrvBean.questionBean.questionType}" id="item">
< f:selectItems value="#{master.questionTypeList}"/>
</ rich:select>
Thanks
Swastik