How do you drag and move an HTML element? I am not talking about HTML5 drag and drop, which is rather straightforward to implement. I am talking about repositioning an element within its parent by dragging.
Today, I had to create a new PhoneGap app for a client. I was shocked to see that the official docs are still badly incomplete and sometimes just wrong. Anyway, I hope these steps will help others.