How to get the dynamic header text on respective link click using jquery?

How to get the dynamic header text on respective link click using jquery?

Hello Everyone, 

    I am facing problem with jquery. Kindly help me by seeing this jsfiddle once. 
Here "sticky" is common with dynamic ids. On click of each sticky i want respective header value in alert message. here every header also having dynamic ids.
eg. if u click on 1st sticky, i want  " testing compltd" in alert box, 
on 2nd click, i want   "helo testing on notifiction" in alert box. etc

Thanks in Advance
Satish Chandragiri