怎样用js调用mvc controller中的方法

2025-02-26 01:37:21
推荐回答(1个)
回答1:

在js里面可以应用ajax方法,通过地址 (/controllor/action),发送post 或get请求,执行地址对应的control下的某个action。