MySQL Forums
Forum List  »  Newbie

Putting table values into Local Storage
Posted by: Michael Smith
Date: February 23, 2023 01:34PM

I have a table called "company". One field is "compname" (Company Name).

The user can click on a checkbox to select the company which I can filter with
SELECT * FROM company where check01 = 1;

I am trying to find a way of saving this to local storage as "mcompname" with code as below.

localStorage.setValue('mcompname', company.compname)

This code does not work.

Any thoughts?


Options: ReplyQuote

Written By
Putting table values into Local Storage
February 23, 2023 01:34PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.