All Questions
3,938 questions
1
vote
4
answers
107
views
How to make the entire checkbox module clickable in Bootstrap 5
I'm trying from a long time to make the whole module clickable, not only the checkbox or the label.
If you search on stackoverflow about this you can find the question
How to Make Entire Custom ...
-1
votes
1
answer
48
views
Disable other checkboxes with specific word when one checkbox with same is checked
I have using following code to create dynamic checkbox fields.... and storing batch unique ids as comma separated values in database for specific user...
<?php
// Fetching values from mysql ...
-1
votes
2
answers
89
views
Make checkbox options 1 and option 2 required but make option 3 optional
I have a checkbox with 3 options (option 1, option 2, and option 3). In Javascript, I would like option 1 and option 2 to be required, if either option is selected, then the other is no longer ...
0
votes
0
answers
47
views
how to remove array when i uncheck some of my checkbox?
if i uncheck checkbox value of uncheck checkbox still passes to print.php i want to remove the value of uncheck checkbox from array. i want to print a specific data only if the user mis-checked the ...
0
votes
0
answers
48
views
How to click on <li> elements and automatically check/uncheck form elements
Target
My target is that when I click on <li> element (which is the element of each answer), the input checkbox inside select or deselect.
I have this index.html page:
<h3 aria-label="...
-1
votes
1
answer
37
views
Bootstrap Switch value passes as 'on' via ajax even it is unchecked
I have a simple form with two Bootstrap switches.
<div class="row mt-5">
<div class="col-xl-3">
<h5>Minutes</h5>
...
1
vote
1
answer
727
views
Select checkboxes on a HTML treeview with JavaScript
I'm currently deveoling an asp.net core web app with html and javascript.
The problem is that I'm trying to implement a treeview where each element is a checkbox, and when I click an element I want ...
-2
votes
1
answer
229
views
Javascript set checkbox checked value to false [closed]
I'm having an issue with Javascript. I'm trying to limit the number of checked checkbox to 5. I have a Javascript script that shows me the alert I ask to show but the still put the checkbox on checked....
0
votes
2
answers
39
views
Dynamically passing value to .click event Jquery
I am getting the values of a CSS class using Jquery. When I click the header, I want all of the radio boxes to be marked as checked.
I loop through and find the values, using console.log to check if I ...
0
votes
3
answers
98
views
jQuery Checkbox checked Limitation
I have 6 checkboxes in a group of food sides. Any or all of the six can be checked.
I have another group of 6 checkboxes of sauces that only one can be checked. On a specific condition, the Egg Rolls ...
1
vote
1
answer
58
views
Javascript input 'check' - why is the second 'checked' overwriting the first?
I have a simple question that I'm hoping someone can solve for me.
I have some Javascript that is responsible for checking two seperate inputs, one after the other. However, it seems like only one of ...
0
votes
1
answer
109
views
How to use javascript or jquery to toggle select all checkbox to check if all are selected and uncheck if one of them is unchecked?
I want to use javascript or jquery to check the checkbox on accordian when below all of the input checkboxes are selected and uncheck it when one of the checkbox is deselected.
<div class="...
0
votes
1
answer
42
views
Mirroring a checkbox and select when weither are selected or clicked
I have a select and a checkbox that I want to work in tandem. The select has four options with values null, Yes, No, and Maybe.
When the select is either Yes or Maybe, the checkbox should be checked.
...
2
votes
1
answer
112
views
Checked all checkbox when header cell is clicked
I need for all checkbox to be checked or unchecked when either header cell (yellow color) or checkbox in header cell is clicked.
$('th, td').click(function (event) {
if (!$(event.target).is('...
0
votes
1
answer
165
views
How to send id of a checked checkboxes which contains categories to ajax and show subcategories related to that checked checkbox?
I am successfully send checkbox value which is id of a category when checkbox is checked and show subcategories on thee same page related to selected subcategory but I have a problem when click on ...