rockinaway Posted January 5, 2008 Share Posted January 5, 2008 Is there an alternative for selectionStart and End for an iFrame? Link to comment https://forums.phpfreaks.com/topic/84637-selectionstart-for-and-iframe/ Share on other sites More sharing options...
phpQuestioner Posted January 5, 2008 Share Posted January 5, 2008 what are you trying to accomplish with this? Link to comment https://forums.phpfreaks.com/topic/84637-selectionstart-for-and-iframe/#findComment-431441 Share on other sites More sharing options...
rockinaway Posted January 5, 2008 Author Share Posted January 5, 2008 I need the position of the cursor within an iframe. So that I can insert text at that point... I know a method for IE, but it doesn't work for FF and other browsers. Others ways require selectionStart, but that doesn't work with an iFrame... Link to comment https://forums.phpfreaks.com/topic/84637-selectionstart-for-and-iframe/#findComment-431443 Share on other sites More sharing options...
phpQuestioner Posted January 5, 2008 Share Posted January 5, 2008 Iframe? - you mean textarea? Link to comment https://forums.phpfreaks.com/topic/84637-selectionstart-for-and-iframe/#findComment-431450 Share on other sites More sharing options...
rockinaway Posted January 5, 2008 Author Share Posted January 5, 2008 Nope, iFrame. I am making a simple WYSIWYG... Link to comment https://forums.phpfreaks.com/topic/84637-selectionstart-for-and-iframe/#findComment-431451 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.