I have a div thats content editable and I wish to click on the edit button and the cursor appears at the start of the div, at the minute it appears at the end.
Check: Set cursor position on contentEditable
In addition for IE's, check also document.selection.createRange.