How to select ID from clicked element and pass it to the server using AJAX

How to select ID from clicked element and pass it to the server using AJAX

Hello,

I wonder how you can select the ID of an element (li) you have clicked and pass this to the server to do stuff with it :-)

Thx, for all support! 

Christophe