Questions tagged as 'javascript'

1
answer

How to read a text file from javascript

Hi guys I would like to know how I can read a text file from javascript     
asked by 07.12.2017 / 02:58
1
answer

How can I recognize the property .value of a DOM object [closed]

var texte = document.getElementById("texto_lineas"); var boton = document.getElementById("botoncito"); boton.addEventListener("click", dibujoPorClick ); var d = document.getElementById("dibujito"); var lienzo = d.getContext("2d"); va...
asked by 26.11.2017 / 18:55
2
answers
2
answers

bootstrap dateTimePicker plugin

good morning I have a doubt I am using the bootstrap-dateTimePicker library but I have a problem that shows me the hours from 0 to 24 hours and I could not change the format so that it only shows me 12 hours as in a normal clock I want...
asked by 02.03.2018 / 14:02
1
answer

send an array from javascript to the laravel driver

I'm doing a query from jquery to a controller in laravel, the problem I have is that I'm sending a total of 5 variables using json , one of them is an array but the problem is that the controller does not want me recognize the variable in...
asked by 07.03.2018 / 18:53
1
answer

Hide end user errors using Laravel

I'm starting with Laravel, I got the error that I show below, it's already solved, the detail is that I can not find the way that when an error occurs does not show all those details in the browser. Can you help me with the configuration of Lara...
asked by 24.10.2018 / 21:39
2
answers

Detect the closing of a window, when the user returns to the web

On my website, users can press a button to make an action (from a window that opens). What I want to know is how to execute a function when the user closes it, or when it returns to the web. The two forms serve me. This is only to check the t...
asked by 17.10.2018 / 15:04
2
answers

Compare two dates and two hours in JavaScript

Hello friends I want to compare two hours one that is value obtained from an id, and the other one built with the current time. And two date also one that is value obtained from an id, and the other built with the current date where: var Ho...
asked by 09.10.2018 / 15:07
2
answers

Why do I get an error when traversing the array?

I would like someone to help me how to go through the array, because it does not work for me? var jsonObject = { "hoteles": [ { "viaje": { "origen": { "iataCode": "VL", "name": "Valencia"...
asked by 25.05.2016 / 23:56
3
answers

two tags script vs script type = 'text / javascript'

What is the difference between: <script type="text/javascript">.....</script> or <script>.....</script> Please explain to me to understand clearly.     
asked by 20.01.2017 / 14:34