javascript to set local storage

This forum contains topics that were moved from Get Satisfaction
David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

javascript to set local storage

Post by David wyatt »

Hi, im trying to set the contents of a html component as a storage variable through javascript, i have the following

storage.setitem('title2',Apperyio('html_uk2').html());

where title title is my local storage and html_uk2 is a html component

but i cant get the code to run