I have a bunch of anchor tags ( <a> ) that I need to convert to <span> tags. I don't need to do this to disable preventDefault() I know about preventDefault() and returning false from the click event handler). I just need to do this to enable drag and drop sorting (which IE forbids on the anchor tag but allows on the gap).
I have a working solution that is great.
http://jsfiddle.net/5HGbx/
I'm just wondering if any of you wizards have an easier way to achieve the same end result.
javascript jquery dom
Peter Lyons
source share