Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

index.html 1019 B

You have to be logged in to leave a comment. Sign In
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
  1. <html>
  2. <head>
  3. <title>Contract Styler</title>
  4. <script type="text/javascript">
  5. function loadDoc() {
  6. var xhttp = new XMLHttpRequest();
  7. xhttp.onreadystatechange = function() {
  8. if (this.readyState == 4 && this.status == 200) {
  9. document.getElementById('styled').innerHTML = this.responseText;
  10. }
  11. };
  12. xhttp.open("POST", "/style", true);
  13. xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  14. xhttp.send("txt="+encodeURI(document.getElementById('raw').value));
  15. }
  16. function onTextChange() {
  17. loadDoc();
  18. }
  19. </script>
  20. </head>
  21. <body>
  22. <table border="0">
  23. <td>
  24. <form>
  25. <textarea name="raw" id="raw"
  26. cols="80" rows="20"
  27. onkeydown="onTextChange()" onmousedown="onTextChange()"></textarea>
  28. </form>
  29. </td><td valign="top">
  30. <div id="styled"></div>
  31. </td>
  32. </table>
  33. </body>
  34. </html>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...