File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "addrow  javascript " Watch "addrow  javascript " New topic
Author

addrow javascript

Vishal Maga
Greenhorn

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:

<tr>
<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"/>
</html:select>
</td>
<td width="65%" align="left"><html:text property="cadExp" styleClass="smallwhitetext" value="<%=(String)request.getAttribute("cadExp")%>"/>
</td>
</tr>

How my bean has to be.

Please hlep me.
 
Consider Paul's rocket mass heater.
 
subject: addrow javascript
 
Similar Threads
Struts: Getting a blank page instead of the form
Dynamic Population of Drop Down List using AJAX
&gt;html:text &lt; default value
default selection in html:select
js code needed !