All Questions

2
answers

Hide Element by clicking outside an element

I have a form that is hidden, and a "Show" button that when pressed shows the form ... The idea is that when I click outside the element (form) it must be hidden ... The problem is that when I click on the form too it's hidden ... It is assum...
asked on 04.06.2018 / 14:34
3
answers

JSON.parse: expected property name or '}' JavaScript

I have this String: [ {'lat':43.4627,'lng':-3.79636,'description':'a'}, {'lat':43.4476,'lng':-3.82948,'description':'b'}, {'lat':43.4228,'lng':-3.82391,'description':'c'} ] And when I try to validate here I get this error:...
asked on 10.05.2018 / 10:52
3
answers

Multiply matrices in python

This is a question a bit simple but I can not solve it on my own, and I have not found any post related to this topic, my question is this: matriz=[[1,1,1],[1,1,1],[1,1,1]] print(matriz) matriz[0]=matriz[0]*2 print(matriz) What I want to...
asked on 21.05.2018 / 20:37
2
answers

Apply a style to the single pulsed element

I have a problem, I am using jquery, and I need that when I press an element a style is applied, the problem is that all the elements have the same class and I can evaluate it with the event object that I receive the function, but that's only wh...
asked on 15.03.2018 / 00:19
3
answers

How can I get decimal points in java?

I need to show the user an amount to pay, but the result returned is the following 1700.292 , the user will find it an error. You need to show the exact amount separated by points - > 1,700,292    Correct result: 1,700,292       Erron...
asked on 23.03.2018 / 03:13
1
answer

Alertdialog, separate the title of the message

I am using the Holo_Dialog theme in an AlertDialog, the problem is that the title comes out below the line of separation, how could I put the title above ?, or if I use the theme Theme_AppCompat_Dialog_MinWidth, how could I separate the title fr...
asked on 04.03.2018 / 00:38
3
answers

how to put the information of my page on image? [closed]

         Start      <img src="img/programacion.jpg"> <form action="Formulario_submit" method="POST" accept-charset="utf-8"> <center> <h1>Super Mundo Web</h1> <p>"Si puedes imaginar se puede...
asked on 24.03.2018 / 15:51
2
answers

Convert 'dd / MM / yyyy hh: mm: ss' to 'hh: mm: ss tt', SQL Server

Assuming I have the following Date / Time in a tabla of the Database:    Entry : 05/03/2018 08:00:00.000   , Exit : 05/03/2018 18:00:00.000 I need to get the following output: Entrada : 08:00:00 a.m....
asked on 05.03.2018 / 19:08
2
answers

get distance based on latitude and longitude

I need to get the distance between two points, as formula is but the data provided by google maps is lat, log and I need the distance in meters var map; function initialize() { var myLatlng = new google.maps.LatLng(41.38,...
asked on 16.03.2018 / 16:52
2
answers

How to style an input="file"?

I would like an input ( <input type='file' > ). Have the appearance of a div with a class which gives it a circle. circle { border-radius: 50%; width: 80%; height: 0; padding-bottom: 80%; border-style: solid;...
asked on 22.03.2018 / 16:52