• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

doubt regarding <html:select>  RSS feed

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!