TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Darveson Wright
1.6k
103
9.6k
Selecting Only next child
Mar 24 2021 2:29 PM
Doing a treeview in MVC .
Clicking the blue icon expands next node and icon turn green. When I click "Client Alpha", Beta, Gamma or Delta the epansion occurs as expected. But when I click the icon for Issue 1, Issue 1's nodes expand but "Client Beta" is also hidden.
In the uploaded source code, I am getting the next div and using toggle() to hide/show.
What can I do to prevent the next "main node" from also hiding? What am I missing?
Attachment:
Treeview1.zip
Reply
Answers (
4
)
Change colour using for loop.
How to Write Multiple If Condition in jQuery Template