All Questions

2
answers

Why do not you see an image in html?

This is what happens to me. <h1><img src= "Bibliotecas/Imágenes/logo.gif" width="100" height="100">Trabajadores Vigentes</h1>     
asked on 16.02.2018 / 18:41
2
answers

Doubt about float data type in Java

I'm learning how to program, and I'm doing data type exercises. I'm supposed to find errors in the code, and here I am: 9.- float f1 = 13.5; 10.- float f2 = 8f; I really have a bit of a mess, because I do not know if the failure is that e...
asked on 11.02.2018 / 18:03
3
answers

Scroll when focusing on a Component X JAVA

I find myself with the following dilemma suppose I have a control in this case a EditText and below I have a Button which allows me to follow the course of the app, Now my problem is that I want that when you focus or click the...
asked on 23.02.2018 / 17:27
2
answers

Why is the result added twice when using SUM () with JOIN?

Hi, I have the following question and it is that the sum is doubled and I do not know why, it adds twice the result when using SUM() with JOIN in Mysql. Each result comes out double in INVERSION_VALOR comes out 492 instead of 246,...
asked on 05.11.2018 / 22:15
2
answers

How to see the foreign key that a table has

I wanted to ask if anyone knows how to see in mysql the foreign key that has a table, because it seems that with show create table is not seen.     
asked on 26.02.2018 / 22:28
2
answers

how can I replace values brought in a query with php?

<php $connect =mysqli_connect("localhost" ,"root" , "" , "helpdesk"); $query ="SELECT status, count(*) as number FROM ticket GROUP BY status "; $results = mysqli_query($connect, $query); $result = mysqli_query($connect,$sql); while ($m...
asked on 11.11.2018 / 14:19
3
answers

JavaScript 1e16 * Math.random () equivalent to PHP

I have this line of code that when executed in the console generates random numbers of 16 characters: 1e16 * Math.random() When executing you can give this kind of results: 1e16 * Math.random() //8988522134496624 As you can see, it gen...
asked on 25.11.2018 / 23:50
1
answer

Accept letters and numbers in a text type input

Good morning, I have this code that only allows the use of numbers. $('input[name="39"]').bind('keypress', function(e){ var keyCode = (e.which)?e.which:event.keyCode return !(keyCode>31 && (keyCode<48 || keyCode&g...
asked on 03.12.2018 / 22:10
1
answer

memset does not work with large numbers

I have the following simple code: #include <bits/stdc++.h> #define oo 0xffffff using namespace std; int main() { int v[10]; memset(v, oo, sizeof(v)); for(int i = 0; i < 10; i++) cout << v[i] << endl;...
asked on 30.10.2017 / 17:50
2
answers

How do I prevent it from closing inside the container?

I EDIT THE QUESTION FOR IT TO BE CLEAR. I expressed myself fatally and mixed several questions. Question 1 Good, how can I make it so that it only closes, when I click outside (or on the button) and everything returns to its original s...
asked on 26.10.2017 / 10:04