我在错误控制台上收到此错误并且似乎无法弄清楚,我尝试取出引号,移动它们但仍然无法解决操作员:
后缺少名称的错误.
。如何修复此错误?
var counter = 0;
counter++;
result = '<span class="imagemsg'+counter+'">The file was uploaded successfully!</span><br/><br/>';
...
jQuery.ajax("deleteimage.php?imagefilename=" + image_file_name)
.done(function(data) {
$(".imagemsg".counter).html(data);
});