The following small series will give you a detailed explanation of the attribute methods of element objects in the JavaScript-based DOM. I think this is quite good. Now I will share it with you and give you a reference. Let's take a look at the
JQuery uses (1) to mark element attributes and jquery to mark element attributes
JQuery mainly introduces how jQuery controls pages, including the attributes of elements, css style, DOM model, form elements, and event processing.
Tag Element
Input commit behavior description for the type of submit of the same nameThis situation,
It can be used as a button for submitting content, which is sent to the parameters of the server segment, corresponding to the button
Let's look at one example:
Copy Code code as follows:
http://www.jb51.net now get the property ID of a label. The following methods are available:
Copy Code code as follows:
JQuery ("#easy"). Click (function
The JQuery selector can be broadly divided into: the base selector, the hierarchy selector, the filter selector, and the form selector. The filter selector can be divided into: Simple filter selector, Content filter selector, visibility filter
The readonly and disabled attributes of form elements are different in terms of scope, operation, form submission, and so on. If you are interested, you can refer to this article.
1) Scope of adaptation:
Readonly: input [type = "text"], input
Yuan Yongfu (http://www.xdesigner.cn)
The form tool I am developing is a three-in-one form tool (click to download its conceptual version). It also integrates the design functions of WinForm, HTML, and XSLT, and uses it, for the same form template,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.