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

你好,如何异步调取ajax页面的某div内容 #283

Open
qinmingfeng opened this issue Oct 7, 2019 · 0 comments
Open

你好,如何异步调取ajax页面的某div内容 #283

qinmingfeng opened this issue Oct 7, 2019 · 0 comments

Comments

@qinmingfeng
Copy link

content:function(data){
return data;
},
这样可以直接输出ajax页面的内容

能不能这样:
content:function(data){
var html = data.find("#x").html();
return html;
},
只输出ajax页面中的id=x的内容。

应该如何写?

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

1 participant