我该怎么写
var releaseName = $('#SelectedReleaseId option:selected').text()
var templateName = $('#SelectedTemplateId option:selected').text()
这个:
$("#TestplanName").text(releaseName + '-' + templateName + '-' + '@Model.UserId' + '-' + '@Model.CreatedAt');
进入:
$("#TestplanName").text( '@string.Format("{0}-{1}-{2}-{3}",releaseName,templateName,@Model.UserId,@Model.CreatedAt)');
releaseName 和 templateName 未知...