it didnt do the trick..sorry.
i m so confused..so if you can,just point me to the right way..i ve already shared my app with the support..
to be more specific so you could help me (i m really really confused right now) in short words,what i want to do is that:
i m getting data from here:
http://ekloges-prev.singularlogic.eu/...
as you pointed out (and thank you so so much for that) there are multiple .js files like this one: http://ekloges-prev.singularlogic.eu/...
which i have to use,to take data for every electoral distinct.
so the get syntax for one file is:
http://imageshack.com/a/img631/9677/L...
the test results:
http://imageshack.com/a/img538/1646/1...
the problem is that on responce data i just get the "party_id" as shown here:
http://imageshack.com/a/img901/7675/z...
the "party_name" are on a static file,as shown here:
http://imageshack.com/a/img538/3929/n...
and the .js exactly is this one:
http://ekloges-prev.singularlogic.eu/...
so what i want to do is to take from the first .js file the "party_id" and the other data,such as "votes" "percentage" etc and compare this "party_id" to the one from the second .js file (http://ekloges-prev.singularlogic.eu/...
) so it will return the "party_name" value,to the appropriate field of my app.
i tried like a million of things,but i was unlucky..nothing worked!
firstly,i cant import via a rest service,this second .js file,because it is a window.static one,and i get this error:
http://imagizer.imageshack.us/a/img53...
so my first big problem is how to somehow use the data of it!is there any way??i also tried with no luck to save it as external resourse.
after that,the second and last problem is what i ve described before,to compare these 2 files,and for every party_id to return the correct party_name..
the same thing happens also with the id's from the electoral distincts..
if you have any,any solution,please tell me..i spend like 10 hours every day,but still no luck..
really thanks for your time and your consideration!you are so kind and helpful!!