Project

Profile

Help

Support #1845 » saxonce.html

Martynas Jusevicius, 2013-07-23 16:00

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

function loadTypeaheadXML(query)
{
$.ajax({url: "typeahead.xml" }).
done(function(data, textStatus, jqXHR)
{
ontypeaheadCallback();
} ).
fail(function(jqXHR, textStatus, errorThrown)
{
alert(errorThrown);
});
}
</script>
</head>
<body>
<p>
<input class="typeahead" type="text"/>
</p>
</body>
</html>
(2-2/3)