Home  >  Article  >  Backend Development  >  Implementation of Asp.net text box selection_PHP tutorial

Implementation of Asp.net text box selection_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:42:30834browse

1. Slide the mouse over the textbox to select all
Front desk:
dsdsds
or
dsdsds
Backend:
this.txtbox1.Attributes.Add("onMouseOver", "this.focus();this.select();");

2. Get focus
Background:
textbox1. Focus();
textbox1.Attributes.Add("onfocus","this.select()");

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/320980.htmlTechArticle1. Slide the mouse over the textbox to select all the foreground: asp:TextBox runat="server" onMouseOver="this.focus ();this.select()"dsdsds/asp:TextBox or asp:TextBox runat="server" onMouseOver="this.focu...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn