Skip to content

Instantly share code, notes, and snippets.

@SindhujaD
SindhujaD / Loader-dots.markdown
Created January 6, 2014 00:09
A Pen by David DeSandro.

Show / Hide password

Show / Hide password using jQuery

Suggestions are welcome.

A Pen by Jeplaa on CodePen.

License.

Simple PubSub with jQuery

The pen is to demonstrate the basic idea of PubSub. Here the first element triggers an event whenever its content changes and the other three elements changes to the same content.

This is done by jQuery's custom events which makes it really. Although the traditional PubSub method is more interesting to look at.

So, when the content of the first field gets updated, it triggers a custom event and passes the new content with it.

We listen for the event and when that happens we change the content of the other elements.

@SindhujaD
SindhujaD / Flippin-Link.markdown
Created January 6, 2014 00:14
A Pen by Alan Crissey.
@SindhujaD
SindhujaD / A-Pen-by-nalragg.markdown
Created January 6, 2014 00:16
A Pen by nalragg.
@SindhujaD
SindhujaD / CSS3-Tabbed-Content.markdown
Created January 6, 2014 00:17
A Pen by JustAnotherCoder.
@SindhujaD
SindhujaD / HTML-5-PROGRESS-TUTORIAL.markdown
Created January 6, 2014 00:19
A Pen by Scott Marshall.
@SindhujaD
SindhujaD / Flat-Social-Icons.markdown
Created January 6, 2014 00:21
A Pen by Mark Murray.
@SindhujaD
SindhujaD / 150-Animated-SVG-Icons.markdown
Created January 6, 2014 00:25
A Pen by Joseph Howard.