Ticket #10641 (closed bug: invalid)
Click error detection line on a list
| Reported by: | djije | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.6.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I have this list : <ul class="open">
<li class="titreO" id="li1">Equipements <li id="li2" class="action"><a href="myurl1">List</a> <li id="li3" class="action"><a href="myurl2">Search</a> <li id="li4" class="action"><a href="myurl3">Create</a>
</ul>
and Jquery code is :
$(document).ready(function() {
$('li[class="titre"]').click(function() { ... });
}
when I click on a line with the class "action" the program enters into code describe in jquery section and $(this) is the li with the id li1. I tried with id selector, same problem.
Any idea ?
Regards
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Sorry the problem occurs in case of a sub list :
The clic on li14 is detected into the click onto li12 with the jQuery code :
$(document).ready(function() {
$('li[class="titre"]').click(function() { ... });
}