1
3
如果您想根据第一个请求的结果发出另一个ajax请求,那么在另一个函数中可能应该有第二个ajax请求。另一个函数将在第一个ajax请求的成功事件中被调用。
|
2
2
警报应该放在成功回调中,而不是在ajax调用之后。ajax调用的默认行为是异步的。也就是说,调用立即返回,并在稍后的某个时间点调用回调,即实际接收到数据时。 您可以将调用配置为同步,但这不是推荐的技术。 |
Newbie_Coder · 如何使用Jquery无画布裁剪框架 1 年前 |
NovoMannen · 导航中的下拉菜单在内容后面重叠 1 年前 |
Community wiki · 无法从jquery文档调用函数 1 年前 |