This week's book giveaway is in the
Agile and other Processes
forum.
We're giving away four copies of
The Mikado Method
and have Ola Ellnestam and Daniel Brolund on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
show/hide child elements based on the parent id
Jayasri Alaparthi
Ranch Hand
Joined: Aug 14, 2006
Posts: 67
posted
Mar 03, 2008 18:40:00
0
Hello Friends,
Can some one help me in displaying the Children elements based on the parent id.
These is my subproduct code
<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" /><%= subCnt++ %></td><td> </td></tr>
with regards,
Bhargavi
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
13
I like...
posted
Mar 03, 2008 19:00:00
0
<logic:equal ...
Showing code full of Struts tags in an HTML forum isn't the best of approaches. I'd suggest showing the rendered HTML that is produced.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
13
I like...
posted
Mar 03, 2008 19:04:00
0
You should also be more explicit in your questions. Aside from knowing that you want to hide and show things, I really have no idea exactly what.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: show/hide child elements based on the parent id
Similar Threads
Hide/Show rows of database in javascript
Struts: Getting a blank page instead of the form
problem with logic:iterator in dividing the rows to two coloums
formatting problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter