JAVASCRIPT – .prop() vs .attr()
.attr() Get the value of an attribute for the first element in the set of matched elements. .prop() Get the value of a...
.attr() Get the value of an attribute for the first element in the set of matched elements. .prop() Get the value of a...
Our site uses cookies. By using this site, you agree to the Privacy Policy and Terms of Use.