JavaScript On JQuery - snippet to select ...

by asd, February 08, 2011 07:28

the black background, red/w...

D41d8cd98f00b204e9800998ecf8427e Talk

JavaScript On jQuery script: too many ifs...

by Ants, February 04, 2011 14:03

@Gauri, I recommend startin...

F9a9ba6663645458aa8630157ed5e71e Talk
<div class="companypagecoveringanalyst">
							<%
								if(company.isEquityCovered() || company.isCreditCovered()){
...

JavaScript On jQuery script: too many ifs...

by Gauri, February 03, 2011 11:49

I would like to refactor my...

C9cf070ae705c2426608c71b757b1043 Talk
$.fn.numberToCurrency = function(number, options) {
  var match, property, integerPart, fractionalPart;
	var settings = $.extend({precision: 2, unit: "$", separator: ".", delimiter : ","}, options || {});
...

JavaScript On Rails-like number_to_curren...

by Josh Starcher, January 20, 2011 19:47

For the jquery users out there

4e781ca772eabdd414f65c12bbec0b36 Talk
var hoverTableRow = function () {
    $('#messagesTable tr.message')
        .hover(function () {
...

JavaScript On jQuery clickable table row,...

by Josh, January 17, 2011 04:55

- Replaced if statement wit...

60888d58de3bf08cbc0c73e67fd6fd86 Talk

JavaScript On Simple Dropdown Menu I'm Wo...

by JMC Creative, January 13, 2011 14:25

What happens if the submenu...

881128824e981cd48a3fcfea136e8897 Talk

JavaScript On Simple Dropdown Menu I'm Wo...

by gedgei, January 03, 2011 17:32

The first thing I'd do is m...

8d59e92055a2fb33932467d81fad1f35 Talk
function deinterleave(base4_arr)
{
    var x = 0;
...

JavaScript On De-interleaving bits

by Ants, January 01, 2011 21:19 Star_fullStar_fullStar_fullStar_fullStar_full

The following should work, ...

F9a9ba6663645458aa8630157ed5e71e Talk
function changeCookie(toggle) {
    var element = $(toggle),
        menu_index = element.parent().index(),
...

JavaScript On Simple jQuery script - Opti...

by Fadzril, December 07, 2010 14:24

for selector:.toggle we can...

Bf0c2ee31aee9e20f0b107f2782a66f0 Talk

JavaScript On Handling Keyboard Shortcuts...

by Aligonelink, December 06, 2010 23:34

If "/codes/402-handling-key...

F0cdd1d97a39efa1b77ec3752df829af Talk
var TOGGLEABLE_ELEMENTS = {
    'a#li-div1': 'div1',
    'a#li-div2': 'div2',
...

JavaScript On Toggle a few divs

by Adam, December 06, 2010 20:38 Star_fullStar_full

I don't know that this real...

A8d3f35baafdaea851914b17dae9e1fc Talk
jQuery(function ($) {
  $('a[id^="li-div"]').click(function () {
    $('#' + this.id.substring(3)).slideToggle();
...

JavaScript On Toggle a few divs

by paul.wilkins.myopenid.com, December 06, 2010 11:02 Star_fullStar_fullStar_full

You can use the attribute-s...

Aacfa176a8d73ca75b90b6375151765a Talk
$(function () {
	$('#menu li a').click(function ()
	{
...

JavaScript On Toggle a few divs

by Jannik Nilsson, December 06, 2010 10:59 Star_fullStar_fullStar_full

Try something like this:
<u...

4c2dcafc3c9f39cc38d3443af9b62ecf Talk

JavaScript On ImageFlow - something like ...

by Elmer Bulthuis, November 27, 2010 21:16

check this out:
http://coul...

36a5ecb5eee8e5a4c7fa78edddb8e4db Talk
var Validation = (function () {		
	var process = function (element){
...

JavaScript On jQuery script: too many ifs...

by Jake, November 20, 2010 04:50
D41d8cd98f00b204e9800998ecf8427e Talk

JavaScript On Growl style message popups

by lawoffives.blogspot.com, November 19, 2010 15:33

Thanks very much :) well it...

9803fa03938ea54a15ed1954996b1e5c Talk

JavaScript On Growl style message popups

by Mike Christensen, November 16, 2010 07:16

This is awesome! I actuall...

D41d8cd98f00b204e9800998ecf8427e Talk

JavaScript On Javascript threading

by 35Jonni, November 07, 2010 12:35

<a href=http://xigfstroller...

5603e238460f9e18c9931245001d093a Talk
<script type="text/javascript">
var page = "page-3.html"; //The page to redirect to
  function display( notifier, str ) {
...

JavaScript On countdown timer (minutes &a...

by Erickson, October 30, 2010 07:37

Your codes here really rock...

269afe2021aa3a60d934eca7b4affcd4 Talk
// ucfirst all the words
var ucfirst = function() {
    return s.replace(/(^|\s+?)[a-z]/mg, function(s) {; return s.toUpperCase(); })
...

JavaScript On ucfirst

by Felipe Alcacibar, October 22, 2010 22:48

like the avobe function but...

2e365ac3ac207524ec99a482ae3737e7 Talk

JavaScript On Cpanel like password generator

by sghfg, October 13, 2010 22:29

df

51d3ab6534b38f81ff65ec3a602d5b10 Talk
$('.answer_filter').change(function() {
  var select = jQuery(this).attr('id');
});

JavaScript On Get the id of a <select&...

by Vasco Costa, October 08, 2010 10:18
D41d8cd98f00b204e9800998ecf8427e Talk
sdsaddsads

JavaScript On Simple Form Validation

by sfgf, October 04, 2010 11:48

asdsadas

C435d97618077c832891fde8a5c53e43 Talk
PasswordHelper=new function(){
    // private members
...

JavaScript On Ugly password select helper

by lomax, October 01, 2010 22:52

> Looks very bloated and un...

D41d8cd98f00b204e9800998ecf8427e Talk
http://github.com/shimondoodkin/node-inflow

...

JavaScript On Node.js: Calculating total ...

by Shimon Doodkin, September 30, 2010 13:31

my new node-inflow library ...

Feb4d45f386d1ec13bf305746a707f6e Talk