Closed willess closed 7 years ago
What purpose do you want to use local storage? Did you save some data in local storage and now you want to render in the grid?
I do have a html grid. And when I edit a cell I want to save the filled in data. So, when you refresh the page, you still see the data that's filled in.
yes, the same here ... loading data from a .json file, but how to save changes or added lines??? i know, javascript are not allowed to save to the webserver (sure, security), but PHP can do it. But how to get the array data from javascript to a php dara array??? there are no examples here ... why not? Thanks
Php is server side. JavaScript is client side. Meaning that php runs first on the server and is sent to the client and run on the client.
You want to get the array data from JavaScript to PHP? Can't do it naturally but could maybe use something like Ajax or an API call to save out.
Sent from my iPhone
On Jan 30, 2018, at 7:22 AM, curtisnewton notifications@github.com wrote:
yes, the same here ... loading data from a .json file, but how to save changes or added lines??? i know, javascript are not allowed to save to the webserver (sure, security), but PHP can do it. But how to get the array data from javascript to a php dara array??? there are no examples here ... why not? Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'am desperate looking for an example with local storage. Can someone help me?