Antonqq,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
$('.list').on('click', 'li.dd-item', function(event){
event.stopPropagation();
var i = $('li.dd-item').index(this);
$('.adsadd').html(++i);
});
});
</script>
</head>
<body>
<ul class="list">
<li class="dd-item" >
<div class="dd-handle">кат 1</div>
<ul class="list">
<li class="dd-item" >
<div class="dd-handle">кат 1.3</div>
<ul class="list">
</ul>
</li>
<li class="dd-item" >
<div class="dd-handle">кат 1.2</div>
<ul class="list">
</ul>
</li>
<li class="dd-item" >
<div class="dd-handle">кат 1.1</div>
<ul class="list">
</ul>
</li>
</ul>
</li>
</ul>
<div class="adsadd"></div>
</body>
</html>