 |
.prop() | jQuery API Documentation
jQuery: The Write Less, Do More, JavaScript Library ... The .prop() method is a convenient way to set the value of properties—especially when setting multiple properties, using values returned by a function, or setting values on multiple elements at once.
api.jquery.com |
 |