| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 442
![]() ![]() ![]() | IE problem with textarea 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?
__________________ Please add to my rep points if i was helpful. Thanks. Content management system and online shop software |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 442
![]() ![]() ![]() | 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
__________________ Please add to my rep points if i was helpful. Thanks. Content management system and online shop software
Last edited by paaaaaaaaaa; 06-07-2007 at 04:06 AM.
|
| |