A
Anders S. Clausen
Hi
I have a selection box on a pop-up window and I would like to get the
value every time a new value is selected in the selection box. How do
I pass that value in to the onSelection() that I'm calling from the
onChange event handler??? See code below.
<html:select name="dealDocumentUploadForm" property="documentType"
size="1" styleclass="dropdown" styleId="documentType"
onChange="onSelection();">
<bean:define id="documentTypeList"
name="<%=UIConstants.DEAL_BEAN_KEY%>" property="documentTypeList"
type="java.util.Collection"/>
<htmlptions collection="documentTypeList" property="value"
labelProperty="label" />
</html:select>
Cheers.
Anders
I have a selection box on a pop-up window and I would like to get the
value every time a new value is selected in the selection box. How do
I pass that value in to the onSelection() that I'm calling from the
onChange event handler??? See code below.
<html:select name="dealDocumentUploadForm" property="documentType"
size="1" styleclass="dropdown" styleId="documentType"
onChange="onSelection();">
<bean:define id="documentTypeList"
name="<%=UIConstants.DEAL_BEAN_KEY%>" property="documentTypeList"
type="java.util.Collection"/>
<htmlptions collection="documentTypeList" property="value"
labelProperty="label" />
</html:select>
Cheers.
Anders