Questions tagged as 'checkbox'

1
answer

How to go through CheckBox in WebForms automatically generated with JQuery

How to go through several CheckBox in the Click event of a button with C # and these CheckBoxes were automatically generated with JQuery? Home The HTML of the automatically generated CheckBox is this: <div class="col-md-12"> <div...
asked by 23.11.2018 / 13:26
1
answer

How do I specify a remote address, within several others, using an input type="checkbox"

I have a menu made with 'ul' lists with a sub-menu displayed when clicking on the 'checkbox' The element is too far away and the reference using the 'checkbox' is fine at the beginning, I'm not sure how to specify the address # sm2, in order to...
asked by 22.05.2018 / 23:02
2
answers

ComboBox with CheckBox and Input Text options

Good afternoon guys, I would like to know if it is possible in a form to create a combobox with options to select in checkBox and text box to populate with a value. (According to image) and then I can send the selected item with the respective v...
asked by 13.04.2018 / 18:26
1
answer

Mysql query based on checkbox result

I'm having trouble creating a mysql query based on checkbox. 1. I have a form based on a select that contains a checkbox for     line <input type="checkbox" name="check[]" value="<?php echo $linhas['id'];?>" > 2. I make a...
asked by 28.02.2018 / 16:50
2
answers

How to keep checkbox selected after refresh on page with localstorage JS

I'm trying to keep the checkboxes selected even after refresh on the page, this is my progress: // javascript var s_item = ""; function save(items) { s_item = items; var checkbox = document.getElementById(s_item); localStorage.set...
asked by 14.01.2018 / 17:07
1
answer

Doubt with JQuery - Get class value and apply as background

I need a help !! I'm making a form and every checkbox will have an image, however I did not want to do manual by css every check, I wanted a script that I already made automatic. I can do this with the click () function, but I needed it to...
asked by 29.12.2017 / 14:28
1
answer

Java - Import Excel with combo and checkbox

I need to perform an excel spreadsheet import using java. Only the worksheet has selection values such as checkboxes and combos. As in the example below: Does anyone have an example java code that can retrieve these values, with Apache...
asked by 30.10.2017 / 20:46
2
answers

How to use two checkboxes in a C # mvc view to choose the type of query?

Controller.cs public ActionResult pesquisarCliente(string _codigo) { var r = db.Pedido.AsQueryable(); if (!string.IsNullOrEmpty(_codigo)) { r = r.Where(n => n.Cliente...
asked by 17.09.2017 / 16:14
2
answers

How to save multiple checkboxes in the database with Laravel?

I'm developing a site in Laravel and wanted to know how to controller should be able to save multiple checkboxs chosen in the database. form file: <!DOCTYPE html> <html lang="pt-br"> <head> &l...
asked by 13.03.2017 / 19:32
1
answer

Add checkbox with values coming from the Bank

I have the following code, and would like to add all the prices that are marked, but I have no idea how to do it, I hope someone helps me. Thank you. <!DOCTYPE html> <html> <head> <meta charset="UTF-8">...
asked by 04.12.2016 / 18:18