








Price View Courses
600+ Online Courses | 50+ projects | 3000+ Hours | Verifiable Certificates | Lifetime Access 4.6 (85,318 ratings)
$(" jquery selector ").prop(property, value )· mix the multiple property values.
Bạn đang xem: Jquery
$(" jquery selector ").prop(property: value, property: value )
$(" jquery selector ").attr(" attribute" ). Phối the attribute value.
$(" jquery selector ").attr (attribute, value ). Mix the multiple attribute values.
$(" jquery selector ").attr (attribute: value, attribute: value )
· set the current value of the property element.
. Mix the original value of the attribute element.
The jquery property is display values such as align, autofocus, so on.
The type và value are attributes of the HTML page.
Xem thêm: app tải game qq
· Place HTML attributes and property inside the tag.
· Use jquery prop() method in script tag.
· Place property & value inside of the attribute method.
. Initialize the HTML attribute inside the tag.
. Use jquery attr() method in script tag.
. Place attributes và value inside of the attribute method.
· Return the value of a property using the DOM tree.
· The property returns the current value of the DOM.
· The property returns Boolean, number, and a string value.