File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes addrow  javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "addrow  javascript " Watch "addrow  javascript " New topic

addrow javascript

Vishal Maga

Joined: Nov 27, 2007
Posts: 11
Hi all, i am very much new to struts. I am shoiwng one dropdown and text box on screen.I need help in writing java script to add new row(similar what i am ) on clik of addrow button.

In jsp i have written:

<td width="8%" align="left" ><strong class="bluetext">CadSkill</strong></td>
<td align="left" bgcolor="#F3F3F3" class="smallwhitetext">
<html:select property="selectedcadSkill" styleClass="dropdown" size="1">
<html ptions property="cadSkill"/>
<td width="65%" align="left"><html:text property="cadExp" styleClass="smallwhitetext" value="<%=(String)request.getAttribute("cadExp")%>"/>

How my bean has to be.

Please hlep me.
I agree. Here's the link:
subject: addrow javascript
It's not a secret anymore!