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

Implementation of Asp.net text box selection_PHP tutorial

WBOY
Release: 2016-07-21 15:42:30
Original
901 people have browsed it

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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template