Common jQuery bug about check & uncheck checkbox or radio button.
.attr('checked', false) is not working properly because it sets the checked attribute to false, but does not change the underlying checked property of the checkbox.
.prop('checked', false) sets the checked property directly to false, which updates the underlying value of the checkbox.
Therefore, it is recommended to use .prop() instead of .attr() when working with form elements like checkbox and radio button.
My portfolio:
https://codecanyon.net/user/aura-them...
Watch video jQuery "attr checked" is not working properly online without registration, duration hours minute second in high quality. This video was added by user Aura Theme 19 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9 once and liked it people.