Speller Pages拼写检查

联合创作 · 2023-09-22 17:57

Speller Pages是一个自由,开放源码的Web用户界面和JavaScript库服务器端拼写检查程序。适用于PHP或Perl / CGI方式的版本,拼字网页,可让您带来优越的拼写建议capabilites的GNU Aspell的用户您的网站。

在线演示:http://www.netjs.com/speller/

使用代码:

<script language="javascript" type="text/javascript" src="spellChecker.js">
</script>

<!-- Call a function like this to handle the spell check command -->
<script language="javascript" type="text/javascript">
function openSpellChecker() {
// get the textarea we're going to check
var txt = document.myform.mytextarea;
// give the spellChecker object a reference to our textarea
// pass any number of text objects as arguments to the constructor:
var speller = new spellChecker( txt );
// kick it off
speller.openChecker();
}
</script>
浏览 4
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报