the php file:
if (!isset($servers[$ext])){
die('no match data!');
}
return $output;
the html file:
$.ajax({
type:"get",
url:"/tests/api/?u="+u,
dataType:"json",
data:"",
success:function result(data){
$("#show").html(data);
$("#show").show();
}
});
when happens no match data!'. the html file can’t output no match data! tips, how to output it, thank you.
there is a response (no match data!)in the firebug console.but the html file can’t output it.now, i want to the html file can output the no match data! tips how should i do
If you die you won’t reach the return. @PhpMyCoder