deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

localStorage data is with " "

I bind localStorage variable with incoming respond data
when I am reading data some of them I am getting with quote ""
like "3"

but at bind time i notice in js by alert that is 3 without quote
when I am reading from localstorage i am getting "3"
how may i remove ""

http://appery.io/app/view/2aa23e01-a1...

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

localStorage data is with " "

Image

this is by data bind and was ok before your version upgrade

I am getting error on service success event

if(localStorage.getItem("local_available_points")&&localStorage.getItem("local_total_items"))
{
ProcessYourData();
}

localStorage.getItem("local_available_points") is with quote
localStorage.getItem("local_total_items") is without quote

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

localStorage data is with " "

I fixed by this
(int)$check_in_points
tnx

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

localStorage data is with " "

Thank you for the update!

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

localStorage data is with " "

"); Regards."

Return to “Issues”