Questions tagged as 'javascript'

1
answer

how to add a request Headers with $ http de angularjs?

I'm doing a service consumption and I want to add a header to the get method in the following way. var header={headers: {'idUser': Constants.appConfig.userParam} }; return { obtenerInformacionUsuario: () => $http...
asked by 04.11.2017 / 00:26
0
answers

Send a message to Whatsapp with image from a web page?

I only have this code but it only sends text. I need help. Opcion 1 <br><br> Texto <input type="text" name="send" value="Hola mundo" id="mensaje" /> <br> Numero <input type="text" name="number" placeholder="ingre...
asked by 04.11.2017 / 16:55
0
answers

SVG animation is checked in Chrome

I created an SVG animation that simulates turning a page in the book. And in Mozilla it's great, the Chrome and Opera browsers are the problem. Someone to help me optimize the animation to make it more fluid in Chrome? This is the code ( also...
asked by 04.11.2017 / 15:08
1
answer

Problem with JavaScript game with Canvas

Good evening to the community, I've been programming, or good, trying to schedule a game on canvas. I still do not know how to put it, but, if the functions that I would like to fulfill. For now, the design is pure rectangles, then, I will add p...
asked by 07.11.2017 / 03:05
1
answer

Print PHP live and not wait for the whole while loop to end

Good, what I try to do is in a while print live each route, because in PHP it waits for the entire while or for loop to finish showing everything printed on screen. Similar to a form with ajax, but this way with ajax, it will print at the end...
asked by 06.11.2017 / 15:46
1
answer

How do I set a button at the end of a table?

I have this example in plunker link It is a table with data that at the end has a "Show more ..." button with which I give more data to the table.  The problem is that this table is scrollable, what I try to do in some way is that this butt...
asked by 06.11.2017 / 15:29
1
answer

Latitude and Longitude of a Circle in OpenLayers3

Good! I would like to get the Latitude and Longitude of a circle in OpenLayers. var geometry = evt.feature.getGeometry(); var radius = Math.round(geometry.getRadius() * 100) / 100; var center = geometry.getCenter(); var lat = ???? var lon =...
asked by 06.11.2017 / 13:19
0
answers

Maps and measure distance to fixed markers

I need to generate a map with fixed points are x points. and I need to enter an address to tell me which point is closest and order me. I basically need something similar link     
asked by 06.11.2017 / 13:18
1
answer

Select Change event does not work on Onload

I have the following Javascript function: function Ini_Form() { var data=""; data= '<option value="0">Seleccione...</option>'; data= data + '<option value="2">TRANSPORTES MARVISUR</option>'; $("#...
asked by 06.11.2017 / 05:09
1
answer

two countdowns in a single html [duplicated]

I have a countdown running in my html , but I need that right after finishing, start a new countdown with a different time in the same countdown , this is the js $(function (){ function countdown() { var...
asked by 03.11.2017 / 15:29