ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to change value of checkbox toggle via js
Title:
B
I
{code}
?
Hi, I'm testing aspnetawesome controls in Razor project. Is possible launch an event to check or change the value in the checkbox-toggle?
Save Changes
Cancel
JDPC
asked at 23 Jul 2021
Answers
B
I
{code}
?
yes, please have a look here: https://www.aspnetawesome.com/learn/mvc/general#Getting-and-setting-value $('#comp2Id').val(val).change();
Save Changes
Cancel
Omu
answered at 23 Jul 2021
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK