Remembering variables.
I'm wondering how to use the same variable on multiple buttons. It seems like I have to add jquery on each button. I would like buttons to remember what other buttons did. Or should I use the backend to do this, Thanks
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I'm wondering how to use the same variable on multiple buttons. It seems like I have to add jquery on each button. I would like buttons to remember what other buttons did. Or should I use the backend to do this, Thanks
Hello Austin!
What is the final result? Not sure I have understand it correctly, can you please provide steps to reproduce the task, we could test it ourselves.
Sure one button stores var i = 0; and var array = ["one", "two", "three"]; a label use i to display different words ex click button i++ and label displays array does this make sense. I want more than one button to increase i which means something needs to remember i and its current value.
Hello,
You can use local storage variable
http://docs.appery.io/tutorials/build...
and this will transfer to ios when I export?
Yes