我正在尝试将表情符号框添加到我正在创建的克隆twitter项目中的文本区域。问题返回:
timeline:293 Uncaught TypeError: Cannot read properties of null (reading '0')
at HTMLFormElement.<anonymous> (timeline:293:32)
at HTMLFormElement.dispatch (jquery-3.6.3.js:5494:27)
at elemData.handle (jquery-3.6.3.js:5298:28)
我连接到mysql,但我相信错误在JS代码中。有人能帮我吗?完整的代码在我的git小屋上:https://github.com/BrunoSantosLira/Twitter_clone_MVC/blob/main/App/Views/app/timeline.phtml
我尝试在文本区域中输入值=“”。然而,它没有起作用。我注意到插件向文本区域添加了标签,我不知道这是否正确。无论如何,我只是希望结果发送到我的数据库