在提交时,项被推送到数组,列表将获得updated.what我正在尝试做的是,当我单击任何列出的项时,我应该能够获得它的id,但我无法获得it.how我能解决这个问题吗?以下是我所做的工作:'use strict'; var itemslist = [];
$('#addList').click(function(e) {); //unable to get the clicked el
我刚刚转向mvc-3附带的低调的ajax,但它在某一点上正在崩溃。这是我的链接
<%:Ajax.ActionLink("Edit", "Home", "Edit", new{id = Model.SomeID}, new AjaxOptions{OnSuccess =var clickedLinkID = this.id; // this line breaks it used to work with