about billson
Gathering & Sharing
2022-07-21
jquery 3.3.1 change checkbox checked
Found:
Make checkbox value checked with jQuery or JavaScript
but seems not the same case.
the one i'm using.
$("#chkHasDateTo").prop('checked', dto.hasDateTo);
But i remember there are more elegant way to do the same thing....
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment