Topic: initialize checkbox to checked using javascript
Taomgirl pro asked 6 years ago
Taomgirl pro answered 6 years ago
Piotr Glejzer staff commented 6 years ago
Hi, Something like that? if($('#your-checkbox-id').is(':checked')){ // do something } else{ // do smething } Best, PiotrFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.10
- Device: mac
- Browser: chrome
- OS: ios
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 6 years ago
Hi, what exactly do you want? Which if / else statement? Best, Piotr