js读取html时转编码
$html = str_replace(array("\r", "\n"), array('', '\n'), addslashes($html)); header("Content-type: text/html; charset=gb2312"); echo '<script type="text/javascript"> window.parent.jQuery("body").append("'.$html.'"); window.parent.jQuery(".outputfrm").fadeIn(3000);
否则js读取html有问题

浙公网安备 33010602011771号