Sha256: 50f29361fae374e19dad6888ce6238cbfcf83f1e86008e05a1471671b88627e9
Contents?: true
Size: 585 Bytes
Versions: 62
Compression:
Stored size: 585 Bytes
Contents
<html> <head> <script src="javascript/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script> </head> <script> $(document).ready(function() { $("#click-logger").click(function(evt) { $("#log").append("<p>shift=" + evt.shiftKey + " alt=" + evt.altKey + "</p>"); }); }); </script> <body> <div id="click-logger">click me</div> <div id="log"></div> <div> <div onclick="this.innerHTML = 'You Clicked It!'" style="color: red; text-decoration: underline; cursor: pointer;">Can You Click This?</div> </div> </body> </html>
Version data entries
62 entries across 62 versions & 1 rubygems