【发布时间】:2021-01-05 22:34:00
【问题描述】:
当用户在asp.mvc中点击时如何调用onclick 5.下面的代码不起作用
@Html.ListBoxFor(m => Model.DepDashTaskLists[i].BusinessRuleQuestion1Answer, new MultiSelectList(slh.GetRegistrationAnswerLookup(Model.DepDashTaskLists[i].BusinessRuleQuestion1), "Value", "Text", Model.DepDashTaskLists[i].BusinessRuleAnswers), new { @onclick="somefunction()", @id = "RuleQuestionListBoxAnswer", @class = "listbox" })
【问题讨论】:
标签: javascript c# html asp.net-mvc