11-16-2012 10:27 AM
I have html page that I am including in my application package and running within the BrowserField control. From that page I am making a jQuery $.post request to a remote web server. I can debug and see that the call is made and return to the containing application successfully, however when it gets back to the page jQuery is not getting the results if the REST services is https, but it does for http.
In my BrowserFieldConfig I have set ALLOW_CS_XHR to true I have implemented a custom controller for the BrowserField that allows me to inspect the request, and I can debug and see the results comming just fine.
Any ideas?
02-21-2013 12:07 PM
I have the same problem. Any help?
02-22-2013 04:12 AM
Can you try async:true in your Ajax post call an try
$.ajax({
url: filename,
async: true,
contentType:'text/plain',
dataType: 'text',
success: function(data, status) {
success(data, status);
},
error: function(xhr, textStatus, errorThrown) {
error(xhr, textStatus, errorThrown);
}