Chrome Uncaught Syntax Error: Unexpected Token ILLEGAL

		prompt_confirm("确定删除吗?"," 确定 "," 取消 ",function(r){
			console.log("delete prompt function " + obj.parent()[0].id);
			if(r){
				$.ajax({type : "POST",data : {method:'del_site_news_cfg',id:obj.parent()[0].id}, url:"collectCfg.x",
					success : function(data) {
						if(data == "ok"){
							obj.closest("tr").slideUp(888).remove();
						}else prompt_OK("删除失败.");
					}
				});
			}
		})

  编码错 误!

将内容复制到 EditPlus 中,选择 UTF-8 编码,复制回来。 OK

你可能感兴趣的:(JavaScript)