myapp - index.html Revision 383761326665 (Tue Feb 17 2009 at 09:29) - Diff Link to this snippet: https://friendpaste.com/6w85mor3YUlmbQYTLQ53dy Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112131415161718192021222324252627282930313233<html> <head> <title>Captcha</title> <style type="text/css"> #captcha { cursor:pointer; } #container{ width: 200px; height: 80px; text-align:center; } </style> </head> <body> <div id="container"> <img id="captcha" src="/captcha" onclick="get_new_captcha()"/> </div> <form action="/captcha" method="post"> <p> <input type="text" name="capCode" id="capCode"/> <input type="submit" value="Send"/> </p> </form> </body> <script language="javascript"> function get_new_captcha(){ var d = new Date(); document.getElementById("captcha").setAttribute("src", "/captcha?" + d.getTime()); } document.getElementById("capCode").focus(); </script></html>