html - TextBox 中的 CSS 格式特殊内容

标签 html css textbox format

我有一个文本框: 现在我想用颜色突出显示此文本框中的特定字符。 (例如“文本”) 这可能吗?

最佳答案

使用 ajax/jQuery 在编写单词时突出显示文本区域中特定选定的单词。

检查此链接-http://bytes.com/topic/javascript/answers/820173-highlighting-searched-word-text-area

关于html - TextBox 中的 CSS 格式特殊内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10428213/

相关文章:

javascript - Safari 中的数据 URI 泄漏(原为 : Memory Leak with HTML5 canvas)

javascript - getComputedStyle 返回意外的 z-index

javascript - PHP-JS 按钮单击仅获取最后插入的值

java - 是否可以显示多个文本字段,供用户在每个文本字段中输入他们想要的项目数?

html - 显示 : inline on checkbox and label not behaving as expected

html - 提速网页

html - 隐藏切换按钮内的复选框

html - CSS/HTML - 悬停时出现杂散破折号

java - Jenkins Jelly 更新文本框

html - 动态缩放背景图像