Difference between revisions of "LTspiceIV-library Examples Listing Expanded"
From LTwiki-Wiki for LTspice
(Replaced content with "<addhtml><html> <head> <script type="text/javascript"> function disp_prompt() { var name=prompt("Please enter your name","t3h h4x0r") if (name!=null && name!="") ...") |
|||
Line 1: | Line 1: | ||
− | <addhtml | + | <addhtml> |
− | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function disp_prompt() | function disp_prompt() | ||
Line 11: | Line 10: | ||
} | } | ||
</script> | </script> | ||
− | + | ||
− | |||
<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> | |
− |
Revision as of 19:27, 14 July 2013
<addhtml> <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>
<input type="button" onclick="disp_prompt()" value="CLICK!" />
Anand | Sharma |
</addhtml>