Again, you'll use the concept of passing an ajax flag to the server-side script to let it know whether it is being called by a regular GET request or by an ajax call.
同样,您将使用将一个ajax标记传递到服务器端脚本的概念,让它知道它正在被一个常规GET请求调用还是被一个ajax调用调用。
You can call this function by passing JSON data as a parameter.
可以将JSON数据作为参数传递,以调用该函数。
The presentation layer can call the validation logic on the data provided by a form before passing it to the domain model.
展示层可以调用验证逻辑对表单提供的数据进行验证,然后再将该数据传递给域模型。
应用推荐