Thread Cursorposition ermitteln (3 answers)
Opened by [E|B] at 2004-08-07 18:42

esskar
 2004-08-07 20:01
#25826 #25826
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
im ie geht es wohl damit

http://msdn.microsoft.com/library....tml.asp und im mozilla hilft dir vielleicht das:
Code: (dl )
1
2
3
4
5
6
7
8
9
<textarea id="my_text"></textarea>
<br><a href="" onclick="f(); return false;">click here</a>

<script type="text/javascript">
function f() {
the_text = document.getElementById('my_text');
alert(the_text.selectionStart);
}
</script>

View full thread Cursorposition ermitteln