Carlos Castillo6909856
Posts: 0
Joined: Tue Jun 03, 2014 12:51 pm

How to gram variables from Local Storage&Model to compose a mailto:

Hi

Im finishing to adequate your great tutorial

Building a MusicShop app using Model and Storage

to my specific needs

I just need to send an email with the cart content, I would appreciate if you just give me how to build the var with the variables from the Model and Local Storage for the subject.

I know how to build the structure from a mailto: just confused with the model Storage and arrays.

Best

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to gram variables from Local Storage&Model to compose a mailto:

Hello,

Not sure I understand your question.
This is how you get and set Local Storage variable values:
pre
localStorage.getItem('name');
localStorage.setItem('name', 'value');/pre

Return to “Issues”