Questions tagged as 'checkbox'

1
answer

Checkbox to select all and add the javascript selections

I am new to the forum, I have several days looking for the solution to my problem but I can not find it, the following happens: I have a mysql table with the following records: "id, product, quantity, price", each record is dynamically displa...
asked by 18.02.2017 / 02:31
5
answers

How do I display the active or inactive checkbox results in the console or store them in an array in javascript?

I'm working on a code with checkbox and I want the results of which boxes are active or inactive to be displayed in the browser console or stored in an array by pressing the save button to later work with them . The code I have so far is...
asked by 08.09.2017 / 08:45
2
answers

Error selecting Checkbox

I have the following code (very simple) if (document.getElementById(id).checked == false) document.getElementById(id).checked = true; And it works perfectly, but it shows the following error As I said before, it works. But I n...
asked by 17.01.2018 / 13:58
1
answer

Problems with checkbox and javascript

Good morning Dear community, I am working on a list of tasks and I am having problems to rescue the value of a checkbox that is created dynamically by a button element, so far I have the following: <!DOCTYPE html> <html lang="en">...
asked by 29.06.2018 / 17:34
2
answers

Set the checkbox of a DataGridViewCheckBoxCell to true

I load a DataGridView through a list. datagridview.DataSource = listaVariables; This DatagridView, is formed by a column (the first) that is of the DataGridViewCheckBoxCell type. What I want to do is that, depending on a property of the...
asked by 13.09.2017 / 14:01
1
answer

Problems with the toast in android studio

I am developing a small app that will show me a Toast when I click on a button. The problem is that I run the normal app but it does not show me the toast and it does not throw me an error either, it's as if I had not put it. I would apprecia...
asked by 22.10.2018 / 07:20
1
answer

How to get dynamic checkBox values in the ASP.NET MVC controller

I made a view that relates the role of the user to the user, created the view with the dynamic check boxes that can register roles and then assign it to the user, only when sending the marked roles, in the controller does not return to the contr...
asked by 05.09.2018 / 19:22
3
answers

Check checkbox checked [duplicated]

Good, I have put a small questionnaire and in the end I have a checkbox to accept the subject of privacy policies. But I can not check whether they have selected it or not. I would like an alert to come out when it has NOT been selected...
asked by 21.09.2017 / 21:12
2
answers

How to know what is the checkbox that launched the OnCheckedChanged event in asp.net?

I hope someone can help me with the following. I show user information in a table, and also in the row of each user there is a checkbox that says If the user is blocked or not, I want that when the checkbox of a user change state update their Di...
asked by 08.08.2017 / 02:05
3
answers

Insert records with checkbox C #

I am registering registrations in C # ASP.NET with SQL Server, the problem is that I do not know how to declare the checkboxes so that when one or more are selected they are registered in my table. This is what I have: The table sex and age are...
asked by 24.01.2017 / 19:31