Location: PHPKode > projects > Dompdf > dompdf/www/test/javascript.html
<!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" xml:lang="en" lang="en">
<head>

<script type="text/javascript">
app.response({
  cQuestion: "How are you today?",
  cTitle: "Your Health Status",
  cDefault: "Fine",
  cLabel: "Response:"
});
</script>

</head>

<body>

Some HTML

<h1>A title</h1>
  
<script type="text/javascript">
var pp = getPrintParams();
pp.interactive = pp.constants.interactionLevel.full;
print(pp);
</script>

</body>
</html>
Return current item: Dompdf