rockinaway Posted January 5, 2008 Share Posted January 5, 2008 Is there an alternative for selectionStart and End for an iFrame? Quote Link to comment 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? Quote Link to comment 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... Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted January 5, 2008 Share Posted January 5, 2008 Iframe? - you mean textarea? Quote Link to comment 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.