Home > Backend Development > PHP Tutorial > javascript - 为什么页面上显示的不是换行,但下面XHR中的HTML显示换行呢?

javascript - 为什么页面上显示的不是换行,但下面XHR中的HTML显示换行呢?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:13:19
Original
1184 people have browsed it

javascript - 为什么页面上显示的不是换行,但下面XHR中的HTML显示换行呢?

为什么页面上显示的不是换行,但下面XHR中的HTML显示换行呢?
初学ajax和php,简单疑问请大神赐教哈

回复内容:

javascript - 为什么页面上显示的不是换行,但下面XHR中的HTML显示换行呢?

为什么页面上显示的不是换行,但下面XHR中的HTML显示换行呢?
初学ajax和php,简单疑问请大神赐教哈

变成字符串输出了,换成转义符试试

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template