Questions tagged as 'local-storage'

1
answer

Save form values in LocalStorage / JSON - JavaScript

I'm trying to save the values of a form in the LocalStorage to then pass it to JSON, all in JavaScript, I appreciate a help with this, this is the code I have. CODE: var theForm = document.querySelector("#form"), valores = []; [].forE...
asked by 31.08.2018 / 20:47
2
answers

Increase number with jquery and localstorage

I am using localstorage and getTime , to receive the time and save it in localstorage and then calculate if 1 minuto has passed and update localstorage and display a text in div . (I clarify that this is f...
asked by 07.01.2018 / 15:01
0
answers

Problem requesting Firebase Storage

When I try to download something from the storage service of firebase, and I pass as a parameter to the method getReferenceFromUrl of the class StorageReference , I get the following error: com.google.firebase.storage.StorageExce...
asked by 17.04.2017 / 14:14
0
answers

How to save data from localstorage to mysql? [closed]

Is there any way to send the data stored in localstorage to a database? (mysql) Example: As we can see in the image we can have many records in the list, and when I give it in store I want it to be stored in my database just now.   ...
asked by 28.02.2017 / 03:50
3
answers

how to save a jquery action in the localstorage?

It happens that I have a button that when I click on it, it changes the background to another color and I would like it to be saved in localStorage . So, every time you enter the web, be the color you chose. Let me explain: function tema...
asked by 21.08.2016 / 21:59
1
answer

Sessions with Xamarin Secure Storage Plugin

Hello friends, I am developing an app that consumes a web service, my question is regarding the sessions in Xamarin , I would like to know someone could guide me on how to handle this topic, How to generate and maintain sessions in xam ?, my we...
asked by 12.02.2018 / 21:49
3
answers

Is it safe to save an Array in localStorage?

Is it safe to save an array in localstorage? I read that one can convert the array to a string and then pause it but how sure is that the data will remain the same? An alternative that I am considering is to use something like: localStorage...
asked by 31.07.2017 / 12:36
1
answer

Retrieve integer from localStorage JS in Chrome

I am saving a localStorage in the following way and I paint it in <p> ; var punt1=document.getElementById("puntJ1"); var punt2=document.getElementById("puntJ2"); function pintarPuntosJugadores(){ if(localStorage.getItem("ju...
asked by 24.10.2018 / 14:00
1
answer

Pass data from localstorage to php

I need to pass a data of localstorage to a variable php , and I store the data in a script on the same page but I get null to php , I do not know what I'm doing wrong or what I'm missing, I attach my code, thanks in advance for...
asked by 01.06.2017 / 16:48
1
answer

Save items in Localstorage for a shopping cart [closed]

I am working on an ASP.NET MVC 5 application with SQL Server to make a shopping cart, I have the following doubt regarding the recording of the data that users will be adding to the shopping cart, > I have 2 options 1 .- When the user add...
asked by 16.03.2017 / 20:24