aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/test.testhtml
blob: e0e5092f9952a41a892bd4c37cefaf8a67f488fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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>