Thanks the following codes. while in Firefox, you just need to invoke textElement.focus() method.

So here is how to position the caret end the end of a text field/text
area with IE4/5:










ONCLICK="insertAtEnd (this.form.aText,
this.form.a2ndText.value);"
>




ONCLICK="insertAtEnd (this.form.aTextArea,
this.form.a3rdText.value);"
>


评论
发表评论

您还没有登录,请登录后发表评论

dengyin2000
搜索本博客
我的相册
4d063000-8eef-365d-8346-f210ccfd5265-thumb
VB-seamless
共 13 张
存档
最新评论