aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Hide/Show rows of database in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Hide/Show rows of database in javascript" Watch "Hide/Show rows of database in javascript" New topic
Author

Hide/Show rows of database in javascript

Jayasri Alaparthi
Ranch Hand

Joined: Aug 14, 2006
Posts: 67
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

Joined: Jan 10, 2002
Posts: 61606
    
  67

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 .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hide/Show rows of database in javascript