Home  >  Article  >  Backend Development  >  新手请问,关于textarea插入表情的方法

新手请问,关于textarea插入表情的方法

WBOY
WBOYOriginal
2016-06-13 11:52:551015browse

新手请教,关于textarea插入表情的方法
刚刚利用document.createElement("img")实现了在textarea里面添加表情的功能,但问题就是表情无法存储到数据库,每次浏览的帖子的时候,表情就没了,所以想问问有没有什么好方法?
------解决方案--------------------
把图片的URL地址存到数据库里

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn