我可以读取第二行号//这是返回cart.php的数据
response
//Line number
1<!DOCTYPE html>
2passed //i want to read this line
这是我的javascript
jQuery.ajax({
url : '/tutorial/admin/parsers/check_address.php',
method : 'POST',
data : data,
success : function(Response) {
if($.trim(Response) != 'passed'){ //evry time it is exicuting this condition
jQuery('#payment-errors').html(Response);
alert('failed');
}
if($.trim(Response == 'passed')){
alert('[passed');
}
我只需要任何解决方案,这样我就可以开展工作了