Type anywhere in the editable iframe above and it should replace the string 'testval' with 'newtestval'.
(Note: The replacement is recursive so it'll work every time.)

Now, in IE the cursor position stays at the end but in FF the cursor skips to the beginning.

I need to find the cursor position before I replace the value and position the cursor back to where it was before the value was replaced.

Any ideas? =)

Email: c00lryguy@gmail.com
AIM: c00lryguy