7 Crazy Tips That Will Help You Become a Better Coder
JavaScript libraries help you build powerful, data-driven HTML5 apps.
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);
Nice post on...
JavaScript Encryption and Decryption
JavaScript Encryption and Decryption 2.0