这是我的控制器动作...
// GET: ex: /Question/Details/5?project=1
public ActionResult Details(int? project, int? questionId)
{
...
}
这是我的淘汰赛虚拟机:
// Get some other info about question
$(document).ready(function () {
getSomeOtherInfo(<need to pass question id here>, <need to pass project id here>);
});
任何帮助将不胜感激。