Questions tagged as 'javascript'

1
answer

Generate route with Maps API

I am working with the Google Maps API and I wanted to generate the route between two points but I do not know very well how. I have been reading the documentation and I see that it has to be defined using the parameters origin: and des...
asked by 20.02.2018 / 15:56
1
answer

performance javascript code Vs php

I have done tests with two codes that do the same, load a defined selection with the options of a request that is made bd. php code: <div id="Contenedor" style="position:absolute; height: 0px; width: 0px; opacity: 0;"> <select class=...
asked by 25.10.2017 / 11:39
2
answers

Group result by column in response of AJAX PHP

I have the following Table in the database, I want to retrieve it to generate a report: I'm recovering it with the following function statement in php: #BUSCAR CAJA Y BOLSAS public function todoReporteModel($datos, $tabla){...
asked by 22.02.2018 / 21:18
1
answer

Selector this + option

I am trying that when the Change event is launched in a select with the same class as others, the value is retrieved, and if it is equal to one data then select another of the same select. My problem is in, I do not know how to create the select...
asked by 23.02.2018 / 23:20
2
answers

Shutdown effect on an image with Jquery

I have a slideshow the fact is that the images are very bright and what I need is that when I upload an image to the seconds, just before the text appears, a background is placed on top of the image as a background , I did but I want to do...
asked by 22.02.2018 / 02:16
0
answers

How to make a table that is updated at the same time as an INSERT INTO is made to the base?

I am developing a fairly simple tool, it is for a Call Center works in the following way. It is basically a "Ranking" of best sellers, by means of a form the sales are entered into a database and on the page informe.php this table of the quer...
asked by 22.03.2018 / 19:08
1
answer

Date format "dd-MM-yyyy" without pipe

I have this doubt, I need to record it in a variable with that format, but the pipe seems to work only in HTML. I need today's date with the format dd-MM-yyyy Today's date is like this this.today = Date.now(); But there I stay...
asked by 21.03.2018 / 18:04
2
answers

Clone dependent selects in 3 levels

I have a code in which I cloned the first row of a table using a "+" button, which has three select each dependent on the other, that is, depending on what I select in the first select (soc), it will list me some options in the sec...
asked by 23.03.2018 / 17:14
1
answer

Is it possible to run a JavaScript file in sandbox mode?

I am developing a project in which other programmers can collaborate with their own HTML + JavaScript code. For security reasons I do not want your JavaScript code to have full access to the system, although I do want some access (eg your code c...
asked by 23.07.2017 / 02:04
2
answers

Drag or move a dialog element with the mouse

I would like to know how I can do to move a dialog with the mouse, only with javascript and css code, without using other libraries like Jquery Bootstrap, etc. <!DOCTYPE html> <html lang="en"> <head> <meta cha...
asked by 17.02.2018 / 17:09