Questions tagged as 'local-storage'

1
answer

novice res.locals and can not set headers after they are sent

Hi, I'm in need of help with a pretty strange problem I have a layout that contains the head of my html plus the navbar or navigation bar, in this navigation bar I have a form that has a select tag and these options are created with a variable t...
asked by 12.12.2016 / 05:05
0
answers

Save JSON as a file to download it in .txt - Javascript

I have this code to first reflect a form in LocalStorage and then pass it to JSON, but I need to download a file with certain data to a text file. I leave the example: function getAllForm(){ var formID = document.getElementById('form...
asked by 17.09.2018 / 19:22
0
answers

Use localstorage or appcache on android with webview for a webapp exported from Construct2

Hello everyone! The truth is that I am new here, at least putting questions. The issue is that I have made a small webapp with Construct 2 and said webapp is able to read and write in localstorage, but when I run it as if it were a webapp on...
asked by 02.08.2018 / 13:53
0
answers

Problems viewing files from Storage de Laravel

I have a Laravel project hosted on a local server in Xampp, I configure a virtualhost, I do my file registration, and I confirm that they are being hosted on the server, but when I try to recover them I do not have access to them, and I configur...
asked by 27.07.2018 / 23:12
0
answers

Delete player from localStorage

I have a hangman game that works with localStorage to save players' names and their scores, and there is a function that when the player wins eliminates the JSON object and then reinsertes it with the updated score: comentarios = function () {...
asked by 11.06.2018 / 18:17
1
answer

Verify that a value exists in a JSON localStorage

I want you to click on a button first to verify if the value exists in a JSON that you get from localStorage and if it does not exist, save it, but when you perform the function even if the value exists, continue adding the array. The function i...
asked by 08.06.2018 / 18:01
2
answers

Delete JSON element with a value

I have a JSON that I get from localStorage where I keep the names of the players and their scores for a game, then I receive them in 2 separate variables to be able to modify the score and increase its value if the player wins. What I want to do...
asked by 09.06.2018 / 17:51
2
answers

Print array in JSON

I need an array that I put into a JSON and store it in localStorage can add a value to an array that is already saved Here is where I keep the arrangement: var palabra = $("#txtpalabra").val(); var pista = $("#txtpista").val();...
asked by 06.06.2018 / 19:18
0
answers

How do I get all the data of an instance in Localforage - Ionic

I have the following configuration localforage.config({ driver: localforage.WEBSQL, name: 'databaseName', version: 1.0, size: 4980736, storeName: 'databaseStore', description: 'some description' }); The creation of the Instance...
asked by 30.04.2018 / 23:52
1
answer

Save data with JSON medainte input text in localStorage

I have a job to deliver in a few hours but it does not work out. I do not know if someone can help me. What I have to do is that when I add a new element and save the text it is uploaded to the localStorage and that when that element array is de...
asked by 25.04.2018 / 17:47