.attr() Get the value of an attribute for the first element in the set of matched elements. .prop() Get the value of a property for the first element in the…
jquery attr() vs prop() (difference)
1 Article
1
.attr() Get the value of an attribute for the first element in the set of matched elements. .prop() Get the value of a property for the first element in the…