Hi,
Previously I have this code working in FF 0.9 in a web forum :
bodytext = (document.all) ?
document.selection.createRange().text:document.get Selection();
if (selectedtext.createTextRange) {
selectedtext.caretPos = document.selection.createRange().duplicate();
}
else if (document.postform.body.setSelectionRange){
bodytext =
document.postform.body.value.substring(document.po stform.body.selectionStart
,document.postform.body.selectionEnd)
}
With the advent of FF 1.0, this is now broken and returns bodytext as blank.
Does anyone know of any changes in the scripting that would have caused this
or suggest a remedy?
Cheers