example.html - jscancer - Javascript crap (relatively small)
(HTM) git clone git://git.codemadness.org/jscancer
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
example.html (496B)
---
1 <label id="somelabel" data-value="Oh hai">Click on the button, the text copied should be "Oh hai".</label>
2 <input type="button" onclick="javascript:clipcopy_datavalue(document.getElementById('somelabel'));" value="Click me" />
3
4 <br/>
5
6 <label>Click on the button, the text copied should be "Something".</label>
7 <input type="button" onclick="javascript:clipcopy('Something');" value="Click me" />
8
9 <script type="text/javascript" src="clipcopy.js"></script>
10 <script type="text/javascript"></script>