Questions tagged as 'javascript'

1
answer

HTML: Get all the files of an input file []

Good morning, I'm doing a job for a web page, in which I must put a button to upload images to the web, and I need to see a preview of those images to be loaded before uploading. <input type="file" id="file_input" name="fileInput" multip...
asked by 20.06.2017 / 12:01
3
answers

Arrays two dimensions

I want to make a mini app that tells you how much time each tea should make from the type of tea and how a specific person would do it (for example, George Orwell left it about 45 seconds less). I have two select drop-down, to which the info...
asked by 20.06.2017 / 14:41
0
answers

upload data from ajax to datalist

hello I want to bring a list from my database but I already bring it what happens is that it does not show me and I really do not know what to do and a little help I liked. function filtro() { // var valor = document.getElementById("d...
asked by 14.06.2017 / 21:34
6
answers

How could I traverse an array of a JSON file?

I want to go through it with a loop for in JavaScript. let jsonObject = { "hoteles": [{ "viaje": { "origen": { "iataCode": "VL", "name": "Valencia",...
asked by 25.05.2016 / 15:44
1
answer

How to click a canvas element?

How could click 'if the person enters a link for fillText in Canvas ? Edito: I'm still investigating and I've seen you say that I can associate an event handler to the canvas , then take the text coordinates and if you...
asked by 30.06.2017 / 02:53
1
answer

How to create a text file with javascript? [closed]

I need to create a javascript text file that works for all browsers.     
asked by 30.06.2016 / 16:18
0
answers

Full screen kiosk app

I have made a kiosk application for Chrome, but despite being this kiosk I can not get it to full screen since I can still see the top bar and the OS tools. In background_main.js I have added the state line: 'fullscreen', as well as the permissi...
asked by 30.06.2017 / 09:03
0
answers

TypeError: undefined is not an object (evaluating 'settings.keyValue.charCodeAt')

My laravel project suddenly started to throw the following error, TypeError: undefined is not an object (evaluating 'settings.keyValue.charCodeAt') Every time I press a key, it throws the error in the file injected.entry.js...
asked by 13.06.2017 / 00:41
0
answers

Console failure (Can not set property 'value' of null)

I get errors in the console with the following explanation: Uncaught TypeError: Can not set property 'value' of null Matches the line of this JavaScript code if(!re.exec(document.getElementById("tel").value="")){ this would be the comple...
asked by 19.06.2017 / 10:50
2
answers

random in javascript

I would like to know how I do for javascript to execute the following, the program shows me what I put literal (EXAMPLE random_text2 () taking into account that the random is 2) but I want to run the random text function <!DOCTYPE> <...
asked by 12.06.2017 / 22:28