Posted By

qrist0ph on 09/27/08


Tagged

helloworld hta


Versions (?)

Windwos HTA Hello World with JavaScript


 / Published in: HTML
 

  1. <head>
  2. <title>Hello World</title>
  3. <hta:application
  4. id="HelloWorld"
  5. applicationName="HelloWorld"
  6. border="5pt"
  7. borderStyle="raised"
  8. caption="yes"
  9. maximizeButton="yes"
  10. minimizeButton="yes"
  11. showInTaskBar="yes"
  12. singleInstance="yes"
  13. sysMenu="yes"
  14. windowState="maximize"
  15. >
  16. function helloWorld(){
  17. alert("Hello World");
  18. }
  19. </script>
  20. </head>
  21. <body>
  22. <p>Hello World</p>
  23. <form>
  24. <input type="button" onClick="self.helloWorld()" value="Anwendung beenden">
  25. </form>
  26. </body>
  27. </html>

Report this snippet  

You need to login to post a comment.