Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 10-09-2007, 07:00 AM
Simon Tyler
Tablet PC Guest
 
Posts: n/a
Cross Frame Text Selection

Hi,

I am trying to get the currently selected text when the user clicks on a
custom button. The button is one one frame and the text is in another. The
button is not a standard button like <input> but is a <div> tag with an <img>
in it.

The problem is that just as the user clicks on my button then IE cancels the
selection and I cannot get the text using createRange.

If I change the the custom button to an <input> button it works.

or

If I move all the code into the same frame it all works.

Neither of these is an option for my application. Is it possible to stop the
cancellation of the selection or to catch an event pripor to it to get the
text selection.

Firefox is fine as it does not cancel the selection.

Simon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 10-09-2007, 07:00 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Red cross in text area IE7 TJ Internet Explorer 6 10-10-2007 01:20 PM
User gets multilpe text selection with using Office Suite, Excel, Graham Microsoft Office 0 07-25-2007 12:50 AM
Text/Data selection range sowmya.vr@gmail.com Microsoft Office 1 01-15-2007 11:39 AM
New Cross Pen Dave Windows XP Tablet PC Newsgroup 13 05-26-2004 09:08 PM
Cross Pen DLR Windows XP Tablet PC Newsgroup 2 05-26-2004 09:07 PM


All times are GMT -8. The time now is 07:47 AM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0