Dynadot โ€” .com Registration $8.99

IE problem with textarea

Spaceship Spaceship
Watch

paaaaaaaaaa

Established Member
Impact
6
I have an iframe as a wysiwyg text editor. Say someone has some text selected and wishes to turn this into a link. I have a button to click which opens a new iframe in a lightbox style window but when a user clicks into that box the selected text will be lost in the other iframe.

Is there anyway around this. There could be a long way where I save the content of the text area and the curser position?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Might wanna do that anyway...it would be a cool feature to store this info in a session cookie or in a database table so they could resume where they left off...just a thought :)
 
0
•••
yeah thanks. Thats what I have resorted to. Thing is I knew it wouldn't be easy. I'm no javascript expert and I have to do it the mozilla way and the microsoft way.

I have managed to save the range of a text selection but does anybody now how I tell get it to select that piece of text again?

FIXED NOW
 
Last edited:
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Appraise.net
Unstoppable Domains
Domain Recover
DomainEasy โ€” Live Options
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back