1 2 3 4
// container = element to put message into // text = what you want the message to say function msg(container, text) { ...
JavaScript On Ultra lightweight message &...
by Chris Brandhorst,
September 02, 2010 13:52
1 2 3 4
// http://github.com/fjakobs/async.js var async = require("async"); ...
JavaScript On Node.js: Calculating total ...
by Fabian Jakobs,
August 27, 2010 07:06
With async.js you can rewri...
1 2
var message = XMLHttpRequest.responseText; message = (message.length > 0) ? (jQuery.parseJSON(message).error || t('messages.oh_no_error') : "";
1 2 3 4
// http://github.com/creationix/step var Step = require('step'), fs = require('fs'); ...
JavaScript On Node.js: Calculating total ...
by Tim Caswell,
August 26, 2010 00:04
Use Step and path.exists is...
1 2 3 4
$(this).siblings('ul').slideToggle(300).end() .next().toggleClass('closed').end() .toggleClass('nav_arrow_light_up') ...
JavaScript On Simple jQuery script - Opti...
by arkilus,
August 24, 2010 23:31
Regarding chaining, this sh...
1 2 3 4
(function () { function addHeading(obj) { var objType, h2, text; ...
JavaScript On console.log for ie
by paul.wilkins.myopenid.com,
August 21, 2010 00:16
The major change here is re...
JavaScript On Prevent Default not working.
by Anri,
August 19, 2010 16:55
Hey Jacboc, I tested this i...
1 2 3 4
<script type="text/javascript"> document.onkeyup = KeyCheck; function KeyCheck(e){ ...
JavaScript On jQuery plugin: add class to...
by HuiFungPung,
August 06, 2010 03:50
Do you know any good new ma...
1 2 3 4
$('.toggle').click(function(){ ...
JavaScript On Simple jQuery script - Opti...
by naugtur,
August 04, 2010 11:56
I didn't break it down to s...
1 2 3 4
<script type="text/javascript"> $(document).ready(function() { ...
1 2 3 4
<script type="text/javascript"> $(document).ready(function() { ...
JavaScript On JQuery - snippet to select ...
by Dharmang,
August 03, 2010 09:37
I am using value of select ...
1 2 3 4
function _initCountUpUsers() { var totalUsers, ceiling, floot, update; ...
JavaScript On Javascript Loop Refactor
by paul.wilkins.myopenid.com,
August 03, 2010 03:18
You can use clearInterval f...
JavaScript On how i make it work on Firefox?
by harakter,
July 31, 2010 23:27
I would like to exchange li...
1 2 3
function dataStringToArray(str) { return JSON.parse( '[[' + str.replace( /\|/g, '],[' ) + ']]' ); ...
JavaScript On Delimited data string to ne...
by Sean Catchpole,
July 21, 2010 19:38
I know this is a little hac...
JavaScript On jQuery plugin: add class to...
by xXmikeGalXx,
July 20, 2010 22:20
I'm trying to open forum bu...
JavaScript On how i make it work on Firefox?
by tribadiainterna,
July 17, 2010 01:27
it was very interesting to ...
JavaScript On Delimited data string to ne...
by squidsoup,
July 08, 2010 09:01
Wow, that's amazing Adam th...

Most jQuery functions retur...