我的文本区域有问题。 当我从数据库中选择值到我的textarea字段时,浏览器无法理解HTML标签(例如:</br>
)。HTML标签在Textarea内部没有正确显示
这是我的领域:
<textarea id="id_get_post_description2" maxlength="9999" name="description_post" style="resize:none; font-size: 12pt; width:100%; height:90%; border:1px solid #0099FF;" type="text"></textarea>
在JavaScript中使用=>'\ N' – AvrilAlejandro 2014-09-20 15:24:36
在讨论的代码有没有JavaScript的,没有明显的关系数据库,textarea里面没有标签(HTML语法中没有标签)。 – 2014-09-20 19:13:14