0

If I have the following Bootstrap 5 toggle check box, how do I get its value in Javascript?

 <div class="form-check form-switch"> <input class="form-check-input tt" type="checkbox" role="switch" id="flexSwitchTT" checked /> <label class="form-check-label" for="flexSwitchCheckChecked">Travel Trailer</label> </div> 
2
  • Please see How to Ask and take the tour, then revise your post title to ask a clear, specific question. Don't add tags. (Do tag Bootstrap 5 below the post.) Commented Aug 12, 2022 at 13:06
  • Also, this isn't a Bootstrap question. It's just JavaScript. Commented Aug 12, 2022 at 13:07

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.