[英]How do I get the previously clicked list item in an unordered list in same click event Jquery
[英]How can I retrieve the child position of a list item during a jQuery click event?
我如何在jQuery click事件期間檢索列表項的子位置?
ul
li
li
li
$('li').click(//pass index of li into function)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.