How do I add a dynamic variable to the echo response? If I don't use the format in your example above, I get a parsing error. I don't know how to replace the static data in '[{"name":"abc", "phone":"123"}]' with data received from local storage.
How do I add a dynamic variable to the echo response? If I don't use the format in your example above, I get a parsing error. I don't know how to replace the static data in '[{"name":"abc", "phone":"123"}]' with data received from local storage.
Is there any way you could look at my project and give me advice based on what you see?
Thank you for the fast response. The link you've provided seems to be for using echo to test a service. The echo would return static data that I would enter into the form. Is it possible to use the echo with dynamic data? Can I return an array via echo?
Jerry
Could you please explain the echo part to me? I apologize for making this so difficult.
Thank you,
Jerry
Would the service I need to create be a REST service or a generic service? If it's a REST service, I'm not sure what I need as a URL since I'm only accessing LS?
I'm sure I'm not doing this correctly. Would you be able to explain the best way for accomplishing what I'd like to do?
thank you,
Jerry
Oh, and when a list item in the upper list container is pressed, both the "contacts_toStorage" and "contacts_fromStorage" events are initiated.