Grails 1.2.5/AJAX:如何强制使用 jQuery 而不是 Prototype?

发布于 2024-12-10 10:47:31 字数 176 浏览 1 评论 0原文

如果我写过一个

${remoteFunction(...)}

库原型,就会使用 - 但我们不喜欢使用原型,我们喜欢使用 jQuery!

我如何强制使用 jQuery 使用 ajax? RemoteFunction 中是否实际实现了 jQuery 的使用?

if i ever write an

${remoteFunction(...)}

the library prototype is used - but we dont like to use prototype, we like to use jQuery!

How can i force to use ajax using jQuery? Is the use of jQuery acutally implemented in remoteFunction?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏见 2024-12-17 10:47:31

对于 1.4 之前的 Grails 版本,请参阅

从 v1.4M1 开始,Grails 默认使用 jQuery。

For Grails version prior to 1.4 see this

From v1.4M1 Grails uses by default jQuery.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文