$.get(url, function (data) {
swal({
title: "",
text: data,
html: true,
showCancelButton: false,
showConfirmButton: false,
customClass: "dialog",
allowOutsideClick: true,
allowEscapeKey: true
},
function() {
console.log('');
});
在这里,是我的dynamicHtml内容
@using (Html.BeginForm("GetSendMessagePopUp", "Help", FormMethod.Post, new {enctype = "multipart/form-data", id = "questionModelForm"}))
{
@Html.TextBoxFor(item => item.FullName, new { style = "display: block"})
@Html.TextBoxFor(item => item.Phone, new {style = "display: block"})
@Html.TextAreaFor(item => item.Message, new {style = "display: block"})
}