All Questions

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 on 08.09.2017 / 06:45
2
answers

Conditional error in foreach using ASP.Net MVC

Partners of Stack Overflow in Spanish, I have the following error when doing this conditional ViewBag.p.Where(n => n.Lider == namelider in cycle foreach . Here I show you part of my code: <table class="table table-bordere...
asked on 11.07.2017 / 21:42
3
answers

Correctly align form to your left margin

I am using bootstrap 3. In a modal window I have an online form and below is a table. But the left margin of the form is not the same as that of the table or the title of the window. How can I correct that? <section class="main container"&g...
asked on 24.08.2017 / 18:20
2
answers

How to avoid an error

I have a list with 2 elements a=[1,2] if I put for example [2] as it will mark > > Traceback (most recent call last): File "<pyshell#13>", line 1, in <module> > if a[2]== IndexError(): IndexError: list index o...
asked on 24.03.2018 / 18:57
3
answers

Filters in JavaScript

I have an Array Data : var Data = [{"Nombre": "A","Apellido": "B","Edad": 12},{},{},{},...] How can I filter the data so that all those with Apellido are equal to B , for example?     
asked on 23.08.2017 / 21:06
2
answers

Get requests authorized based on permissions using node js

What I want to do is, that every time a user, registered or not, when requesting or entering a URL, I want to know what the user is, to see if he has access, and if he has it Render the page with the personal information of said user. I tried...
asked on 30.12.2015 / 00:04
1
answer

Java doubt: .Equals ()

At work I'm using Java and I have to use the equals () function frequently. My question is what is the difference between !"".equals(objeto); in front of !objeto.equals(""); At work they force me to use the first, but I do not under...
asked on 09.07.2018 / 11:04
3
answers

Hide Elements in HTML and Jquery

I'm doing a questionnaire in HTML and Jquery, when I click on an image that contains a question that is inside a section I want that section to hide and the next section appears, with Jquery I make a selection of the classes that contain the sec...
asked on 17.04.2018 / 18:47
3
answers

Difference between Execute and Query in MySQL

When I run a query in the MySQL database, the Execute command freezes the database completely, whereas the Query command normally runs the query. What is the difference between these two commands?     
asked on 14.06.2017 / 15:51
3
answers

Difference between $ value == null and null == $ value

What is the difference of putting the null in front of or behind the variable that we are comparing, that is, what is the difference between: if ($value==null){...} and if (null==$value){...} I've heard that the second option is...
asked on 04.04.2018 / 16:39