jQuery中是否可以替代.load()? [英] Is there an alternative to .load() in jQuery?

查看:379
本文介绍了jQuery中是否可以替代.load()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jQuery中是否可以替代.load()?

Is there an alternative to .load() in jQuery?

推荐答案

是的,您可以使用 ,如果您需要对 .load() 提供的内容进行更多控制的话.

Yes, you can use $.ajax() directly if you need additional control over what .load() offers.

还有 other $.ajax()速记方法.

There are also other $.ajax() shorthand methods available.

这篇关于jQuery中是否可以替代.load()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆