Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Output the array

Hi

I have this

Image

How do i "return" that console.log to show in variable so that i can return the results?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Output the array

Hi Johnny -

What result you are getting now inside the browser console? Could you please show.

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Output the array

The console show the array so that is working. So i dont want to show it in consle i want to show it in variable...

I opened 2nd ticket because i get no response on my other ticket. Im just looking for some help please

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Output the array

What variable and where? You need to declare it and return its value, so far I don't see it in your code.

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Output the array

Ok let me explain. I did not get reaction on this ticket https://getsatisfaction.com/apperyio/...

Then I try to do it and got stuck at the following.

My Local storage array's name is "stuffList". It is based on the todo tutorial.
If you see my old ticket i gave allot of screenshots to help explain the problem but what i try to achieve is to send a mail via sendgrid that is showing the local storage array "stuffList" in the body.

Again see my screenshots https://getsatisfaction.com/apperyio/...

Now im at this point where i almost got it i think. i saw example in the forums about showing array in the console.
Image

Now Im trying to put the console value into a variable that i can use in the sendgrid body.

Again see my images on https://getsatisfaction.com/apperyio/...

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Output the array

I solved it.

Return to “Issues”