TypeError: a.replace is not a function 错误
jquery 如果是单属性css(width, width),
会报:TypeError: a.replace is not a function 错误,查半天要加引号。
css('width', width),
如果是对象形式就不会了:
css({ width : width })
会报:TypeError: a.replace is not a function 错误,查半天要加引号。
css('width', width),
如果是对象形式就不会了:
css({ width : width })
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】凌霞软件回馈社区,携手博客园推出1Panel与Halo联合会员
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步