data: { "courseid": courseid, "date": coursedate, "place": courseplace , "status" : status },
success: function (data) {
$("#count").html(data.length);
$("#count").html("<span>" + data.length + "</span>" + "<span> " + status + "</span>" + " Registration(s) Found For " + "<span>" + coursename + "</span>" + " In " + "<span>" + coursedate + "</span>" + " At " + "<span>" + courseplace + "</span>");
allcourseresult.html('');
$.each(data, function (id, option) {
//allcourseresult.append($('<p></p>').html(option.fname + option.coname + option.coplace + option.coloc + option.codate));
allcourseresult.append($('<tr></tr>').html("<td>" + option.coname + "</td>" + "<td>" + option.fname + "</td>" + "<td>" + option.codate + "</td>" + "<td>" + option.coplace + "</td>" + "<td>" + option.conf + "</td>" + "<td>" + "@Url.Action('Edit', 'Customer', new { id =" + option.id + "})" ));
});
statesProgress.hide();
},
我想在td标记中传递Url.Action,以便它可以点击,但是这段代码不能正常工作...... 任何帮助将不胜感激:))