Format:
Recent snippets matching tags of Clipboard
function copyToClipboard(e) { $('#CodeDisplay').editable(); $('#_contenteditor') .focus() .select() .keydown(function(e) { // capture Ctl-C, Ctl-X, ESC to remove editable if (e.which == 99 || e.which == 120 || e.which == 27) { // have to delay so text doesn't go away before copy operation setTimeout( function() { $("#CodeDisplay").editable("cleanup") },500);
432 Views
no comments
Option Explicit On Option Strict On Imports System.Text Imports System.Windows Imports System.Collections Imports System.Runtime.InteropServices Public Class frmMain
350 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
