selector on child
selector on child
hello, i can't find the good selector for my problem:
I've:
- <div class="edit">
- <span class="editable>/<span>
- <div class="edit-input" style="display:none;"></div>
- <div class="edit-input" style="display:none;"></div>
- </div>
when i do :
- $(".edit").click(function() {
- var di = $(this).siblings('.edit-input');
- di.fadeIn();
- }
there is no problem, all the "edit input" display. but if i have a list of "edit input" like :
- <div class="edit">
- <span class="editable>/<span>
- <ul>
- <li>
- <div class="edit-input" style="display:none;"></div>
- </li>
- <li>
- <div class="edit-input" style="display:none;"></div>
- </li>
- </div>
and i want displaying all the "edit-input" div, perhaps i don't must use "siblings" but i don't find the good selecor to make what i want
Help me please
Ro