Bypass Cross Domain Restriction ajax - jquery and or iOS

neosotabrinee

New Member
I have an iOS app that loads local HTML via a UIWebView. The HTML is connected to jquery with AJAX. For the HTML, I have a content folder and a container folder. The Content folder has a lot of html files and the container folder has one html file that opens the smaller html's in the container folder in a specific order. The problem is the Container HTML will not load anything from the container folder because of the cross-domain restrictions in AJAX. Is there anything I can add via Xcode that will let me by pass the restrictions or anything I can add the HTML/Jquery that will let me Bypass it? Thanks in advance!\[code\] //ReplaceDIV function loadInDiv(source){// alert('start'); $.ajax({ url: source, async: false, crossDomain: true, success: function(data) {$('#content').append(data);}, });// $.get(source, function(data) { // alert(data); // $('#contents').append(data); // }); // $(destination).load(source);}\[/code\]
 
Back
Top