HTML control

xiaoxiao2021-03-05  23

Second, the use of HTML controls is simple, and it is important to use flexible use. HTML and ASP use, let us develop some are not too good habits, including code writing, and even completely detached object-oriented programming, now we use HTML controls, slowly returning to object-oriented programming Habits and ideas. There are more HTML controls, and we now choose a relatively common and practical control example introduction. 1. HTMLANCHOR controls in ASP, we create a link is such link text . One link is established, if not combined with JavaScript, the only function is a link, and this link cannot have any special features. Now, let's see using HTMLANCHOR to implement a common program in JavaScript, just after the user clicks on the link, the link text becomes another text. After the following procedures click "Click on me", the link text becomes "Welcome". The program code is as follows: <% @ page language = "VB"%> <% @ import namespace = "system.data"%>