try the code below to get a response:
$('#mydiv').load('http://localhost/qa/ask #external-div', function(response, status, xhr) { if (status == "error") { var msg = "Sorry but there was an error: "; alert(msg + xhr.status + " " + xhr.statusText); } });
Habibillah Oct 17 2018-12-12T00: 00Z
source share