I have created two exercises in fiddle of drag and drop element. After that I had optimized the code, so code can be reduced. I had merge both fiddle in one and now both are working perfectly in one fiddle.
One fiddle - *http://jsfiddle.net/5cZD5/101/*
Second fiddle - *http://jsfiddle.net/5cZD5/104/*
Now fiddle in which both are merged - *http://jsfiddle.net/sanjayrathod7/5cZD5/111/*
Now I have not idea how to display message in both exercise using making one function.
Please give me suggestions to make it possible.
Any suggestion is appreciable.