aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/test.testhtml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/test.testhtml')
-rw-r--r--src/main/webapp/test.testhtml45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/main/webapp/test.testhtml b/src/main/webapp/test.testhtml
new file mode 100644
index 00000000..e0e5092f
--- /dev/null
+++ b/src/main/webapp/test.testhtml
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Title</title>
+ <link rel="stylesheet" href="/style.css"/>
+ <link rel="stylesheet" href="/textext/textext.core.css"/>
+ <link rel="stylesheet" href="/textext/textext.plugin.arrow.css"/>
+ <link rel="stylesheet" href="/textext/textext.plugin.autocomplete.css"/>
+ <link rel="stylesheet" href="/textext/textext.plugin.focus.css"/>
+ <link rel="stylesheet" href="/textext/textext.plugin.prompt.css"/>
+ <link rel="stylesheet" href="/textext/textext.plugin.tags.css"/>
+ <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
+ <script type="text/javascript" src="/textext/textext.core.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.ajax.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.arrow.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.autocomplete.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.filter.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.focus.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.prompt.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.suggestions.js"></script>
+ <script type="text/javascript" src="/textext/textext.plugin.tags.js"></script>
+</head>
+<body>
+
+ <div>
+ xx8
+ <input type="text" class="tags" name="tags" placeholder="" id="post_tags" style="width: 600px"/><br/>
+ </div>
+ <script>
+ $('#post_tags').textext({
+ plugins : 'tags prompt focus autocomplete ajax arrow',
+ tagsItems : [],
+ prompt : 'Теги (через пробел)',
+ ajax : {
+ url : '/test.json',
+ dataType : 'json',
+ cacheResults : true
+ }
+ });
+ </script>
+
+
+</body>
+</html> \ No newline at end of file