index方法解决 上效果图: 代码: $(document).ready(function(){ $("p").click(function(){ alert($(this).index()); }); }); ❥(^_-)嗯哼