Get started with jquery.textcomplete CDN
MIT licensed
JQuery.textcomplete: Real-time text suggestion plugin for web forms.
Tags:- jquery.textcomplete
Stable version
Copied!
How to start using jquery.textcomplete CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with jquery.textcomplete CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/textComplete.min.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdn.cdnhub.io/jquery.textcomplete/1.8.5/jquery.textcomplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/textComplete.min.js"></script>
<script>
$(function() {
$('#textcomplete').textcomplete([
{
match: /^(hello|hi|hey) (.+)/,
replace: function(term, suggestion) {
return term + ' ' + suggestion;
},
source: ['Alice', 'Bob', 'Charlie']
}
]);
});
</script>
</head>
<body>
<textarea id="textcomplete"></textarea>
</body>
</html>
Copied!
Copied!
Copied!
All versions
0.0.2
0.0.3
0.0.4
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.4.1
0.1.4.1.1
0.1.4.1.2
0.1.4.1.3
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.3.0
0.3.0-beta1
0.3.0-beta2
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.3.8
0.3.9
0.4.0
0.5.0
0.5.1
0.5.2
0.6.0
0.6.1
0.7.0
0.7.1
0.7.2
0.7.3
0.8.0
0.8.1
0.8.2
1.0.0
1.1.0
1.2.0
1.2.1
1.2.2
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.4.0
1.5.0
1.6.0
1.6.1
1.6.2
1.6.3
1.7.0
1.7.1
1.7.2
1.7.3
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
*** 1.8.5