Move Cursor to the Last Index in The Texbox
18 June 2009
419 views
2 Comments
Code for script section in the head
<script type=“text/javascript” language=“javascript”>
function moveindex() {
var me2 = document.selection.createRange();
me2.moveStart(“character”, 200);
me2.select();
}
</script>
code for calling the function in the body section
<asp:TextBox ID="TextBox1" runat="server" onfocus="moveindex()"/>
Thanks and Regards
Meetu Choudhary
Popularity: 3%
Related posts:
- Use CSS and JavaScript in textbox in .aspx page Use CSS and JavaScript in textbox in .aspx page. Create...
Related posts brought to you by Yet Another Related Posts Plugin.










Pretty nice post. I just stumbled upon your site and wanted to say
that I’ve really liked reading your blog posts. In any case
I’ll be subscribing to your feed and I hope you write again soon!
Loved your latest post, by the way.
Leave your response!
You must be logged in to post a comment.
Member Area
Register | LoginWho's Online
Our Network
Most Popular Post
Most Viewed Posts
History
Top Members
Categories