Code Theory

JavaScript

Browser APIs

Clipboard, postMessage, fullscreen and the other things the browser exposes.

Browser APIs guides on Code Theory
Guide Length API status
JavaScript Copy to ClipBoard (without Flash) using Cut and Copy Commands with document.execCommand()

Using the cut and copy commands via document.execCommand() , a text selection can be cut or copied to the user’s clipboard in Chrome 43+, Opera 29+ and IE 10+.

509w Superseded
JavaScript document.execCommand() Web Method

The JS document.execCommand() method is quite interesting.

340w Superseded
JavaScript Control Input Field Caret Position or Move to End in Textboxes and Textareas

Long title, but then I felt like specifying parts of what I’ll be covering in this post.

1363w Current
Get the Original Width and Height of an Image

If you use the width and height properties of the image node (vanilla Javascript) or use jQuery’s width() or height() function, you’ll get the size that you…

183w Current

More in JavaScript

All JavaScript →