posted 10 years ago
Hi All,
<table class="col-1">
<html:form action="/clientsForm" styleId="contacts-form">
<tr>
<td>
<bean:message key="clientscomment.title3"/><br/>
</td>
<td>
<html:text property="name"/>
</td>
<td>
<html:errors property="name"/><br/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title8"/>
</td>
<td>
<html:select property="typeofbusiness" onchange="call(this);">
<html:option value="">Select TypeofBusiness</html:option>
<html:option value="1"><%="NemoTravels"%></html:option>
<html:option value="2">NemoHotels</html:option>
<html:option value="3">NemoCorporateTravels</html:option>
<html:option value="4">NemoAgriCulture</html:option>
<html:option value="5"><%="NemoConstructions"%></html:option>
<html:option value="6">NemoFoundation</html:option>
<html:option value="7">NemoItSolutions</html:option>
<html:option value="8">Nemo</html:option>
<html:option value="9">Nemo</html:option>
<html:option value="10">Nemo</html:option>
<html:option value="11">Nemo</html:option>
</html:select>
</td>
<td>
<html:errors property="typeofbusiness"/><br/>
</td>
</tr>
<tr>
<td colspan="3">
<select id="combo" name="combo2"/>
<%--<html:select property="typeofbusiness" onfocus="combo" onchange="combo2" />--%>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title4"/>
</td>
<td>
<html:text property="email" />
</td>
<td>
<html:errors property="email"/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title7"/>
</td>
<td>
<html:text property="contactno" />
</td>
<td>
<html:errors property="contactno"/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title5"/><br/>
</td>
<td>
<html:text property="state" />
</td>
<td>
<html:errors property="state"/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title6"/>
</td>
<td>
<html:textarea property="message" />
</td>
<td>
<html:errors property="message"/>
</td>
</tr>
<tr class="wrapper">
<td colspan="3">
<html:submit value="SUBMIT" styleId="submit"/>
</td>
</tr>
</html:form>
</table>
in the above code hot to convert this code <select id="combo" name="combo2"/> to <html:select>
can any one help me
thanks in advance
parthiban