File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hide/Show rows of database in javascript

 
Jayasri Alaparthi
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,

Can some one help to show and hide rows of database. The code is defined below.

<logic:iterator>
<tr>
<td colspan='3'><a href="javascript roductToggle(this)" style="text-decoration:underline">See All Subproducts</a></td>
</tr>
</logic:equal>
<logic:equal name="product" property="level" value="2">
<tr style="display:none" id="<%=prodTree.getKey()%>">
<td style="border-style: none; border-width: medium;"></td>
<td width="500" style="color:blue;border-style: none; border-width: medium" height="17">
<bean:write name="product" property="name" />
</td>
<td> </td>
</tr>
</logic:equal>
</logic:iterate>

with regards,
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extermely hard to read and many people that might be able to help you will just move along. Please read this for more information.

You can go back and change your post to add code tags by clicking the .
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic