In general it can be hard for us to reproduce your problem with only a part of your code. If it is possible for you to provide a self-contained example demonstrating the problem that would be very helpful!
I have been away on vacation for a while and forgot about this thread, so sorry for the late reply.
I cloned your BugReport repo and attempted to run it, but I’m not sure what I should be looking for here.
The first thing I noticed was that I got a JS error in fetchBug.ux:206, but that seem to be because the properties names are missing.
After that when i push the fetchData buttons I seem to get some Korean text back, but unfortunately I don’t know if that is what is expected. Sadly I don’t know any Korean.
I also see you recently made a couple additional commits to the BugReport repo. Are these intended, or should I rather try the initial commit?
I see here that it’s really 4 separate issues you got. I will take a quick look at all of them, but for future discussion it will be best if you open a separate forum post for the ones unrelated to this post.
That makes it a lot easier for us to track the issues and follow the discussion.
And thanks again, we really appreciate you putting an effort into creating an example which demonstrates these problems, it’s very helpful
From what I can tell “fetchData” fetches the url. The second time I press it nothing happens, which would be expected as address.data1 has now been modified (so fetchBug.ux:126 is no longer true).
However, the “fetchData2” and “fetchData3” buttons don’t seem to do anything because data.sido is set to “시도” and data.sgk is set to “시군구”, due to the surrounding if blocks.
But from what I can tell this is all expected behavior for this code. Or is it something I’m missing here?
EDIT:
Ok, after going through the code a bit closer, I now understand I need to click on the downloaded data1 text. Then I get an error in fetch.js:435. Will look a bit more at exactly why.
I just found out what the problem is. It looks like the HTTP backend used on iOS does not support UTF-8 characters in the URI. IIRC compliant URI’s should not contain unencoded UTF-8 characters, so encodeURIComponent must be used, which is a good thing to do in any case when building an URI.
var url = 'http://openapi.onbid.co.kr/openapi/services/OnbidCodeInfoInquireSvc/getOnbidAddr2Info?ServiceKey=LEVQhgclvGUKoC%2BJrvokKajzK6OsTFRinprds4qBzZj1PJMDZUQ8SRTm0lmzbj1jzC9IaZLqEm1G%2FhAdHV5R5A%3D%3D&numOfRows=999&ADDR1='+encodeURIComponent(address.sido.value);
it should work ok.
And then the other issues will be followed up in new threads, thanks for that.