<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JQuery3.aspx.cs" Inherits="JQuery_1.JQuery3" %>
The codes in the above DEMO are mine one by one Everything I knock out has been tested and everyone can use it with confidence. This DEMO mainly adds several types of values for input boxes, which also lists two ways to obtain values. In addition to introducing the values of text boxes, the DEMO also introduces drop-down boxes, radio button boxes, and more. The value of the selection box, a composite attribute selector is used here, which is used when multiple conditions need to be met at the same time. It's not as simple as a text box, you can get the value using an ID. When getting the value of select, you can also use a composite attribute selector, but to get the text of the drop-down box, you must first get the value, and then get the text based on the value.
That’s all for today’s lecture. In the next lecture, we will talk about using JQuery to assign values to these common controls, because when we initialize the page, we often need to initialize certain controls.