Difference between revisions of "LTspiceIV-library Examples Listing Expanded"

From LTwiki-Wiki for LTspice
(Undo revision 1116 by Lewispaul (talk))
Line 1: Line 1:
<addhtml>
+
<addhtml><html>
 +
<head>
 
<script type="text/javascript">
 
<script type="text/javascript">
 
function disp_prompt()
 
function disp_prompt()
Line 10: Line 11:
 
   }
 
   }
 
</script>
 
</script>
 
+
</head>
 +
<body>
 
<input type="button" onclick="disp_prompt()" value="CLICK!" />
 
<input type="button" onclick="disp_prompt()" value="CLICK!" />
  
 
<table border=0><tr><td>Anand</td><td>Sharma</td></tr></table>
 
<table border=0><tr><td>Anand</td><td>Sharma</td></tr></table>
  
</addhtml>
+
</body>
 +
</html></addhtml>

Revision as of 19:42, 14 July 2013

<addhtml><html> <head> <script type="text/javascript"> function disp_prompt()

 {
 var name=prompt("Please enter your name","t3h h4x0r")
 if (name!=null && name!="")
   {
   document.write("Hello " + name + "! How are you today?")
   }
 }

</script> </head> <body> <input type="button" onclick="disp_prompt()" value="CLICK!" />

AnandSharma

</body> </html></addhtml>