Opened 11 years ago
Closed 11 years ago
#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: | ||
Blocked by: | Blocking: |
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 (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Can you ask this question on the forum, instead of the bug tracker? Thanks.
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() { ... });
}