Project

Profile

Help

Support #1845 » saxonce.html

Martynas Jusevicius, 2013-07-23 16:00

 
1
<!DOCTYPE html
2
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
4
   <head>
5
    <title>Saxon-CE bug in Firefox 22.0</title>
6
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
    <script type="text/javascript" src="http://code.jquery.com/jquery-2.0.3.js"></script>
8
    <script type="text/javascript" src="js/saxon-ce/Saxonce.nocache.js"></script>
9
    <script type="text/javascript">
10
            var onSaxonLoad = function() { Saxon.run( { stylesheet: "firefox.xsl",
11
                initialTemplate: "main", logLevel: "FINE"
12
            }); };
13

14
            function loadTypeaheadXML(query)
15
            {
16
                $.ajax({url: "typeahead.xml" }).
17
                done(function(data, textStatus, jqXHR)
18
                {
19
                    ontypeaheadCallback();
20
                } ).
21
                fail(function(jqXHR, textStatus, errorThrown)
22
                {
23
                    alert(errorThrown);
24
                });
25
            }
26
        </script>
27
   </head>
28
   <body>
29
       <p>
30
           <input class="typeahead" type="text"/>
31
       </p>
32
   </body>
33
</html>
(2-2/3)