Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

organise an array

Made the change, result is the same

Image

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

organise an array

Michael,

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

organise an array

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

Image

Image

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

organise an array

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

organise an array

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

here are the s/s

Image

Image

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

organise an array

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.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

organise an array

Hi Katya,
dont worry about this I got it sorted

cheers

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

organise an array

Hi Michael,

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

theLebanondon
Posts: 0
Joined: Fri Mar 01, 2013 1:19 am

organise an array

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

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

organise an array

Return to “Issues”