• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Second ajax call not running in web page when running kitkat webview

I have a simple html page that makes two requests to render data.
The first request runs fine but when I reach the second second request it just does not execute.

```
$.ajax({
url: Url_secondRequest,
type: "GET",
dataType: 'json',
success: function(data) {
document.getElementById('dataContainer') = data;

render_secondRequest(data);
},
error: function(req, txt, err) {
var errObj = JSON.parse(req.responseText);
console.log(errObj.message);

}
});

```
 
Could be a javascript run-time error, Which browser are you using? Also, does the same page work fine on PC?

If so, then i recommend you try Firefox on your Android smartphone, they have an addon "Console " which basically adds an error console to the browser where you can debug and detect any runtime errors.
 
Back
Top Bottom