DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
set localstorage
function
set
(
)
{
var
sendJson
=
JSON
.
stringify
(
arrayName
)
;
localStorage
.
setItem
(
'key'
,
sendJson
)
}
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#set
#localstorage
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit