Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lookcode bug #6

Open
lizhanglong opened this issue Aug 12, 2014 · 1 comment
Open

lookcode bug #6

lizhanglong opened this issue Aug 12, 2014 · 1 comment

Comments

@lizhanglong
Copy link

$.get(url, {}, function (r) {
$text.text(r || '文件内容为空...');
});
应指定返回格式,否则jquery会根据返回类型解析,以至看xml文档时,内容为[object XMLDocument]

修改为:
$.get(url, {}, function (r) {
$text.text(r || '文件内容为空...');
},'text');

@Jinqn
Copy link

Jinqn commented Aug 13, 2014

感谢反馈!已修改代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants