I have the following short code to create a div when button is clicked, inside the div is a span tag with contenteditable="false". When span is doubled clicked, it should set and change the contenteditable attribute from false to true, so text can be made editable on dblclick. Check the example at http://jsfiddle.net/dtxhe/
This is working in firefox, chrome and ie8, but not IE7 or quirks mode. Any ideas. How can i fix this.