Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是上传图像并在 gsp 视图中显示它们。我现在要做的是每当我向下滚动时必须加载 gsp 视图图像。
有人告诉我使用 jQuery 进行 ajax 调用。
请帮忙。
实现这样的最快和最简单的方法是使用现有的 jQuery 插件。我建议看看下面应该与 grails 一起工作的插件......
这些插件要求你对 jQuery 有一点了解,所以不要期望只是将代码复制并粘贴到你的 gsp 页面中并让一切正常工作。
我从标准 MVC 4 WebApi 项目中得到以下响应;
<ArrayOfProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Produ