Help please ... Set caret position onmouseup
"Brendan Gogarty" <[email protected]> Wed, 6 Sep 2006 15:01:42 +0100
| Newsgroups | gmane.comp.web.dom.wdf |
|---|---|
| Message-ID | <[email protected]> |
Hi,
- I need to drag an element over an <input type='text' field
- When/if the mouse is released set the caret position in that
field to
the cursor position over it
- Then paste text in that position
input.selectionStart works in an onclick capacity but not in an
onmouseup
capacity. Tried using the a.click() function but that just emulates a
click
at the end of the text-range ...
No luck from the WC3 DOM specs, so I thought I'd try here. Any ideas?
regards
brendan
Unsubscribe
[email protected]
List info
http://www.quirksmode.org/dom/list.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wdf-dom/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/