Hello,
I'm searching a solution to get the position of the cursor in a text field. Can anyone help me?
So if We have a bit of code like this:
<HTML>
<SCRIPT language = "javascript">
function getCursorPos(elem){
...
}
</SCRIPT>...
Hello,
I need a way to select the text of a textfield but not the whole text. I know the method elem.select() but I need something like elem.select(start, length) where start would be the id of the first character to be selected and length, the length of the selection. I have searched in google...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.