No-Library (pure JS), HTML, CSS, JavaScript
jQuery 1.8.3, HTML, CSS, JavaScript 1.7
jQuery 1.11.0, HTML, CSS, JavaScript
This is an example of how to get the width of the active tab using jQuery and Bootstrap.
Removes newlines (of any kind) from the input area and copies to output. A delay is introduced to keep keypress events from piling up.
jQuery 1.9.1, HTML, CSS, JavaScript
This is an example of how to use a custom service to facilitate communicate between multiple controllers using $rootscope as an event bus. I added in a directive just for fun.
Thanks Ali Mills for the inspiration! http://jsfiddle.net/alimills/rCbMv And Thomas Burleson for some great feedback on the code.
jQuery 2.1.0, HTML, CSS, JavaScript
AngularJS 1.2.1, HTML, CSS, JavaScript