Page 1 of 1

localStorage data is with " "

Posted: Mon May 26, 2014 4:31 am
by deveu

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...


localStorage data is with " "

Posted: Mon May 26, 2014 7:36 am
by deveu

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


localStorage data is with " "

Posted: Mon May 26, 2014 7:46 am
by deveu

I fixed by this
(int)$check_in_points
tnx


localStorage data is with " "

Posted: Mon May 26, 2014 8:00 am
by Kateryna Grynko

Thank you for the update!


localStorage data is with " "

Posted: Mon Jul 20, 2020 11:42 am
by Yurii Orishchuk

"); Regards."