jquery-ajax-example
function entities(_code,_data,_target){
_refreshv(_target,"");
$.ajax({type: "GET",url: "company",dataType: "xml",data: { code:_code }, //xml
async: false,
success: function(data)
{_value=data.getElementsByTagName(_data)[0].childNodes[0].nodeValue;
_refreshv(_target,_value);
}
})
}
沒有留言:
張貼留言