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
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56554
    
  14

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 .


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Hide/Show rows of database in javascript
 
Similar Threads
show/hide child elements based on the parent id
problem with logic:iterator in dividing the rows to two coloums
formatting problem
Show - Hide Functionality