/    Sign up×
Community /Pin to ProfileBookmark

show/hide child rows based on parent id

Hello friends,

Can some one help me to show and hide of elements based on the parent id.

With regards,
Smily.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@KorMar 04.2008 — 
show and hide [COLOR="Red"]of(?)[/COLOR] elements [COLOR="Red"]based on(?)[/COLOR] the parent id.
[/quote]

Can you detail a little bit and make your aim clear? Which elements, which parent? When to hide what from where?
Copy linkTweet thisAlerts:
@SmilyauthorMar 04.2008 — Can you detail a little bit and make your aim clear? Which elements, which parent? When to hide what from where?[/quote]
Hi Kor,

I want the child elements to show and hide when the parent tab in clicked, passing the parent id to show and hide function.



With regards,

Smily.
Copy linkTweet thisAlerts:
@KorMar 04.2008 — show us the HTML . By tab you mean TABLE element? By "childs" you mean rows? Please, let's use the HTML standard terms, otherwise we can not understand one each other. Show us the HTML code of that "parent" and his "childs". What kind of tags do you have, and which is the structure?
×

Success!

Help @Smily spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...