369IT编程
  •  首页
  •  教程
  •  IT编程
  •  国外技术
  •  登录
  1. 标签
  2. onclick
  • 报错Onclick Syntaxerror: identifier starts immediately after numeric literal

    写js函数时,想要把字符串当参数传过来,但是报错Onclick Syntaxerror: identifier starts immediately after numeric literal原来需要加转义
    报错SyntaxErroronclickidentifierliteral
    admin5月前
    300
  • 使用onclick报SyntaxError: identifier starts immediately after numeric literal

    少了‘’错误onclick"onlineWatch(${row.title})"正确onclick"onlineWatch(${row.title})"转载于:https:wwwblogs
    identifierSyntaxErroronclickstartsliteral
    admin5月前
    370
CopyRight © 2022 All Rights Reserved
Processed: 0.020, SQL: 9