Jquery Nestable plugin error with php

Jquery Nestable plugin error with php

Hey guys, I have a problem with Nestable plugin,The first thing I want to say,I know normal jquery sortable plugin but I don't understand Nestable.

My Code is apperead in above images;


Now, I want to send output to ajax.php file via post method.How can do it ? What variables should I send ?