Here is the simple sample html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<img src="myimage.png" ondragend="alert('hi');" />
The Mozilla docs says that they work on firedox 3 but it is not working for me for 3.0.19
could figure it out from mozilla docs that they dont work for versions less then 3.5 unless
Note: This page documents an old API. For the new drag and drop functionality supported in Gecko 1.9.1 (Firefox 3.5) and later, see the newer API documentation. Unlike the new API, the old API that's documented on this page was only supported in chrome (such as extensions); you can't use this old API on web pages unless you have UniversalXPConnect privileges.