Source

htraf-packaging / htraf / examples20 / cors.html

Full commit
<!DOCTYPE html>
<html>
<head>
    <title>Getting data from the custom server (CORS)</title>
    <script type="text/javascript" 
            src="../htraf.js"
            data-htsql-version="2"
            data-htsql-prefix="/@">
    </script>
    <script data-server="edgar" data-htsql-prefix="http://htsql.org/@edgar">
    </script>
    <link type="text/css" rel="stylesheet" href="../css/htraf-02.css"/> 
</head>
<body>
    <strong>Data is taken from the <a href="http://htsql.org/@edgar">EDGAR</a> 
        database.</strong><br/><br/>
    Filter by Name: <input type="text" id="name" value="ALE"/><br/>
    <table data-htsql="/company?name~$name" data-ref="name" 
           data-server="edgar"/>
</body>
</html>