I am from web design background and Im trying to transition to building mobile app using web technologies (html5, css3, js). Framework7 is perfect place to start as I dont really have time to study other languages even vuejs or reactjs.
Maybe the response doesn’t add the correct content type header, and the response isn’t correctly interpreted as JSON? You could try to add expected response type as fourth argument, and add console.log to check your response data:
It’s almost there! it solved one of my problems which is the never-ending list.
The first attempt was… it displayed one list and then, I tried to edit the shows.json
and added “show2” array to see the output and it displayed 2 lists.
im going to delete the "shows2’ array in shows.json. and now
i dont know how to display data. im still figuring out.
this is the shows.json for easier understanding
{
“shows”:[
{
“id”:“1”,
“id_area”:“1”,
“id_cat”:“1”,
“name”:“The Journey : Road to the Crown”,
“description”:“The show revolves around the candidate and his journey to the most coveted crown.”
},
]
}
oh my god!!! It finally worked!
ive been googling, reading some solution here and on stackoverflow,
doing trials and error for 3 days. i almost gave up!
I can cry now T_T Thank you so much Tim!
I appreciate it!
Great, you’re welcome! Sometimes if I’m strugling with something too long, I just ask my collegue and most of the time it’s solved within two seconds. It so easy to overlook something obvious in your own code…