All Questions

1
answer

When I make display that scrollie so that the element can be seen (without jquery)

Basically I would need your help so that when I press the question button and the answer opens scrollie so I can see the answer on the screen. Since what happens when I open the third question I can not see the answer and I have to go down scrol...
asked on 24.09.2016 / 17:56
2
answers

Apply to a variable of class A the value of an attribute of class B

I am with a problem in the development of a Java program, I need to set in a varibale of a class Menu the value set to an attribute of the Logica class. Logica class public class Logica { public static boolean administrador = false;...
asked on 12.10.2018 / 21:20
2
answers

Pyramid of numbers in python

I must make a pyramid that something like this  n = 5 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 but what I try to do gives me that way number n: 6 0 1 2 3 4 5 0 1 2 3 4 5 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5 6 this is the code nu...
asked on 16.10.2018 / 03:15
1
answer

Differences between commenting with # and //

I'm doing a project in laravel and would like to know the appropriate use of commenting with 1. # O 2. // I appreciate your help     
asked on 11.10.2018 / 20:53
1
answer

Add items in two lists at the same time

I have the following code that allows you to pass an element, in this case inputs, from one div to another by a button or drag and drop. The idea is that when an element of div1 is passed to div2, it remains in div1 but also passes to div2...
asked on 10.08.2018 / 14:37
2
answers

Capture an attribute of a JSON in Angular2 - TypeScript

I have a JSON that is sent to me as an external service from this url. link I capture these data in my angle as follows: I define my file named Base64.ts that defines the shape of my data export interface Base64{ "userId":number;...
asked on 17.10.2018 / 17:05
1
answer

Comparator does not work! =

I'm trying to recognize when a record in my BD does not match a word. I have the following code that works well when $ client is equal to Day , but does not work if $ client equals day elseif (strpos($cliente, 'Dia') !== false o...
asked on 16.10.2018 / 08:30
1
answer

How to add rows and columns to a DataGrid in Compact Framework 3.5

I'm new programming in C # and I'm making an application for a Windows 7 embedded device in which a DataGrid will be used but I can not find the way to add data and columns, in the 3.5 framework if the following code works for me: mydatagrid.C...
asked on 12.10.2018 / 19:43
1
answer

Attribute set to false comes out as true

I'm trying to create a function in Javascript with which to check the inputs with the required attribute in true. The problem is that although this is specified as false, the result it gives is true. Sample code: var serial_no = do...
asked on 09.08.2018 / 07:01
1
answer

Sum of positions of a cycle for c

I made a program using functions in which you requested the age of the person, and added some conditions that if it is less than 12 years old it is childish and the cost is 300, if it is less than 18 years old it is considered childish and the c...
asked on 09.08.2018 / 23:07