Ajax中写评论功能时出现的问题 Uncaught SyntaxError: Unexpected end of input
Uncaught SyntaxError: Unexpected end of input`
原因:
点击事件中οnclick=‘deleteOne(this,’+id+’)’
正确的写法应该是在deleteOne(this,"+id+") 里边用上双引号。
Uncaught SyntaxError: Unexpected end of input 这种问题基本上要在js中进行查找 也许是符...
原创
2019-07-24 21:07:14 ·
341 阅读 ·
0 评论