Questions tagged as 'checkbox'

1
answer

How to retrieve checkbox data as "checked"?

Context: Home I am creating the "Refresh Structure" method, depending on the selected template the items should be marked in CheckBox . But for some reason it is not working. How to solve this problem? ChecklistController.phpControlleredit...
asked by 24.09.2018 / 21:51
1
answer

How to get the value of $ _GET ['sealed'] to leave the checkbox selected using PHP

I have an array in PHP that is the values selected from the checkbox, which were obtained by $ _GET: $_GET['selecionados'] = array(2) { [0]=> string(1) "a" [1]=> string(1) "b" } Here are the chekboxes: foreach($selecoes = $check...
asked by 19.10.2018 / 14:46
3
answers

How to use checkbox group to do search with php and mysql

I'm developing a real estate site with a search, where one of the filters is the neighborhood. Currently it's a dropbox, but I'd like to switch to a checkbox group so I can select more than 1 neighborhood at a time, how can I do that? I thoug...
asked by 23.07.2018 / 16:14
1
answer

Check all classbuttons daughter radiobuttons

I have a page that will display a checklist, the data displayed comes from the database. I need that when the user clicks on the first checkbox (id="selectTASA", for example) it select all the radii corresponding to the value A, as well as the c...
asked by 11.06.2018 / 15:37
1
answer

Mount check box with 1 and 0 angular values

I have a screen that has a check box .. let's see; <div class="form-group col-md-9 pull-right"> <label>Ativo:</label> <label class="checkbox-inline"><input type="checkbox" ng-model="pess...
asked by 17.01.2018 / 00:49
1
answer

Verify dynamically created checkbox

Good afternoon. I need to check if a dynamically created checkbox (is within a modal) is checked. As it was created dynamically, I thought of the following code: $(document).ready(function () { $(document).on('click', '#elemento', functi...
asked by 27.11.2017 / 16:25
1
answer

How to maintain the previous status of the checkbox?

I need to keep the previous state of the checked variable from input type checkbox after the page loads. In the current state, every time it is loaded, checkbox returns the unchecked condition. I would like a solution thro...
asked by 01.10.2017 / 05:40
2
answers

Hiding and showing tab within a modal using check

I have a registration screen that is within a modal. Within this modal has some tabs, among them a tab called foreign. I'm trying to put a check box so that if the check box is selected the tab appears, if it is not selected the tab disappears ....
asked by 07.11.2017 / 14:24
1
answer

Retrieve dynamic checkbox value in php

I have a table where one of your columns is a checkbox, I need to do when the checkboxes are selected click on a "Delete Selected" button where it is possible to retrieve for me all the selected Checkbox values. This HTML table comes from an A...
asked by 28.07.2017 / 21:04
1
answer

Problem with JSON filter and Array

I'm trying to filter a JSON with category but I'm not getting it. I have 3 checkboxes and when I select them they should filter a json as selected. and when I uncheck a checkbox it should filter only those that are selected. If no checkbox is...
asked by 11.07.2017 / 20:04