Page 2 of 2

organise an array

Posted: Tue Nov 12, 2013 4:02 pm
by Michael4771079

Made the change, result is the same

Image


organise an array

Posted: Wed Nov 13, 2013 8:03 am
by Kateryna Grynko

Michael,

Use the following code:precodeliveorderArray.replace(/[\[\]\{\}]/gi,"").replace(/"/gi," ").replace(/ ,/gi,",");/code/pre


organise an array

Posted: Wed Nov 13, 2013 10:58 am
by Michael4771079

Hi Katya,
still the same, here's the screenshots

Image

Image


organise an array

Posted: Wed Nov 13, 2013 2:24 pm
by Kateryna Grynko

Hi Michael,

You didn't set value after replacing characters. Here is the code:
prevar mainorderArray = localStorage.getItem("mainorderArray");
mainorderArray = mainorderArray.replace(/[\[\]\{\}]/gi, "").replace(/"/gi, " ").replace(/ ,/gi, ",");/pre


organise an array

Posted: Wed Nov 13, 2013 2:45 pm
by Michael4771079

I dont know what I am doing wrong here, the result is still the same

here are the s/s

Image

Image

Image


organise an array

Posted: Wed Nov 13, 2013 5:04 pm
by Michael4771079

sorry Katya,
my fault, I made a mistake, its working now.
1 last thing how can I add a line break after the price as marked on the s/s

Image

cheers for this,really appreciated.


organise an array

Posted: Wed Nov 13, 2013 5:18 pm
by Michael4771079

Hi Katya,
dont worry about this I got it sorted

cheers


organise an array

Posted: Wed Nov 13, 2013 5:42 pm
by Kateryna Grynko

Hi Michael,

Thank you for the update! Glad it's working!


organise an array

Posted: Wed Apr 02, 2014 12:07 am
by theLebanondon

Could someone please show me how to send an array through sendgrid?
i been trying to do this for weeks..


organise an array

Posted: Wed Apr 02, 2014 12:53 am
by Igor