Questions tagged as 'javascript'

1
answer

You can mount a file in cache with php

I'm doing a project in which I have to upload a video series, which when looking for the file is delayed in the video change from video A to video B, this generates a blank, the idea that I have is try if it is possible to mount the list (I mean...
asked by 08.05.2018 / 01:36
0
answers

readyState == 3 does not work

Good morning, In my code everything works perfectly except the readyState == 3, it is assumed that in that state the information is being sent to the .php and it should show me the 'loading ...' in the div, lower when it is in state 4 and ans...
asked by 07.05.2018 / 23:21
1
answer

Rename buttons DateRangePicker

I'm using Daterangepicker The problem is in English and I need to make some adjustments to Spanish: How can I change the name of the option CustomRange and the name of the buttons Apply y Cancel . My current code: var s...
asked by 08.05.2018 / 03:05
0
answers

How to use AJAX within a .PHP when importing data from a .CSV

<!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript" src="header.php"></script> </head> <body> <h1>Importando archivo CSV</h1>...
asked by 15.05.2018 / 21:06
1
answer

save css in database

I want to create the dining room of a restaurant and save the positions of the tables in the database. The tables are draggable but I do not know how to save those positions in the database to show the dining room afterwards as I have saved it....
asked by 15.05.2018 / 20:15
1
answer

Gray screen with Leaflet 1.3.1

I'm using Leaflet 1.3.1, to show a map on a blog made with Laravel and Vue.js But the screen appears in gray. Although the markers, and the controls do appear. And when I click on Inspect Elements, and I go to the layer, I see that i...
asked by 04.05.2018 / 10:33
0
answers

Set time zone

I want to set time zone for my project. This is my code: I set the format like this: date_default_timezone_set("America/Caracas"); setlocale(LC_ALL,"es_ES@euro","es_ES","esp"); And I print it this way: $time = date('H:i:s a', t...
asked by 10.05.2018 / 14:52
0
answers

How to enter coordinates in a javascript array

I am working on a small project to mark positions in Google Maps, I do not know how to read a file .txt that contains the coordinates of the markers by longitude and latitude, as an example: -15.432545, 6.4344523 \n -15.563452, 6.542345...
asked by 12.05.2018 / 01:53
1
answer

Problem with mysql, node and module.exports

Eh. . . hello all over the world, they'll see I've been learning one day so if I come to say nonsense and be stupid sorry. I have a small site that I am connecting to mysql with node, but to unburden code I wanted to use module as in java but I...
asked by 12.05.2018 / 05:51
0
answers

Using a latitude and longitude array to create bookmarks on a Google Maps map API

Problems importing latitudes and longitudes to a map with Google Maps API My problem boils down to reading latitudes and longitudes of an external .JSON file and creating bookmarks on a google map. My code is as follows: function display...
asked by 12.05.2018 / 04:46