简体   繁体   English

如何在Ajax Actionlink的路由值中将javascript函数作为参数传递

[英]How to pass javascript function as a parameter in the route values of Ajax Actionlink

I need to pass javascript function as a parameter value to the ajax actionlink in asp.net mvc app. 我需要将javascript函数作为参数值传递给asp.net mvc应用程序中的ajax actionlink。 how can we achieve this? 我们怎样才能做到这一点?

Thanks in advance. 提前致谢。

I don't think you can pass javascript functions in Route Values ! 我认为您无法在Route Values中传递javascript函数! Are you sure this is exactly what you meant? 您确定这就是您的意思吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM