Nick Pitt
Posts: 0
Joined: Tue Feb 18, 2014 12:44 pm

Select Box To Save Data To Local Storage

What i need to do is have a select box running from the database for the company with 4 different prices. As a result of this i then need to save 4 separate values to local storage dependent on the company name.

What is the best way of doing this ?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Select Box To Save Data To Local Storage

Hello Nick,

Could you clarify what have you tried and what exactly does not work?

use JS below to read selected value:
var selectedValue = Apperyio("selectName").val();

If you want to write values from local storage to the select box - use REST or generic service with mapping for select box.

Return to “Issues”