Skip to main content

All 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 ...
user27160653's user avatar
-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 ...
Dr M L M J's user avatar
  • 2,385
-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 ...
awilso11's user avatar
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 ...
Karl Francis Lopez's user avatar
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="...
Nicolaesse's user avatar
  • 2,714
-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> ...
Shane Perera's user avatar
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 ...
Roger Almirall Jou's user avatar
-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....
Veronica's user avatar
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 ...
macca4244's user avatar
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 ...
Stephen's user avatar
  • 79
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 ...
martini_dog's user avatar
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="...
Deoxzy's user avatar
  • 3
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. ...
user avatar
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('...
sg552's user avatar
  • 1,543
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 ...
Pirah Bughio's user avatar

15 30 50 per page
1
2 3 4 5
263