更新时间:2023-12-03 13:54:04
( document )。on( click, .deleteProImg, function (e){
debugger
if (确认( 您确定要删除吗?)){
var imgId =
(document).on("click", ".deleteProImg", function (e) { debugger if (confirm("Are you sure you want to delete?")) { var imgId =
( this )。attr(' id');
var _imgId = imgId.substring( 10 );
(this).attr('id'); var _imgId = imgId.substring(10);
.ajax({
url:' / Product / DeleteProImage /',
类型: POST,
data:{proFileName:_imgId},
成功:功能(数据){
.ajax({ url: '/Product/DeleteProImage/', type: "POST", data: { proFileName: _imgId }, success: function (data) {