JavaScript libraries help you build powerful, data-driven HTML5 apps.
I don't who code this snippet but i like it :-)
(I also know there is the toggle function from JQuery)
READ MORE
(I also know there is the toggle function from JQuery)
Togger = function (e) { // Show the paragraph if it's hidden. var $paragraph = $(e.data); var $link = $(this); if ($paragraph.is(':hidden')) { $paragraph.show(); $link.text('Click to hide'); } // Hide the paragraph if it's visible. else { $paragraph.hide(); $link.text(' Click to show'); } }; $('#toggle-link-1').bind('click','#paragraph-1', Togger); $('#toggle-link-2').bind('click','#paragraph-2', Togger);
JavaScript Encryption and Decryption
JavaScript Encryption and Decryption 2.0



