gitbrent / bootstrap4-toggle

Bootstrap 4 Switch Button / Toggle
https://gitbrent.github.io/bootstrap4-toggle/
MIT License
214 stars 67 forks source link

check attribute will not change #46

Open myehrajat opened 4 years ago

myehrajat commented 4 years ago

i want to get by jquery its .prop('checked') but it always the same and will not change

these are my checkbox attrs

class="form-control" id="vZVLwwfS1wg1≪0≫" name="temp_legal_person_type_id-10[0]" type="checkbox" value="legal" data-toggle="toggle" data-width="280" data-height="40" data-on="حقوقی" data-off="حقیقی"