$(document).ready(function () {
['enviar', 'leer'].each(function () {
initForm(this);
...
JavaScript On jQuery repeating yucky code
by Paul Wilkins,
February 23, 2009 07:39
JavaScript On jQuery repeating yucky code
by crungmungus.myopenid.com,
February 18, 2009 16:32
Well spotted! thank you ver...
var messages = '';
for (message in responseText.messages){
messages += '<p>'+responseText.messages[message]+'</p>';
...
JavaScript On jQuery repeating yucky code
by V,
February 18, 2009 16:26
Not a refactor, but a possi...
$(".tool_block, .view-code").toggle();
JavaScript On Show / Hide Code in Javascript
by Josh N,
February 14, 2009 19:39
You can put the 2 toggle() ...
JavaScript On jQuery One-Liner
by Adam Soltys,
February 13, 2009 17:30
aleemb, normally I'd agree ...
<ul id="nav"> <li><a href="#one">Example</a></li> ...
JavaScript On Tab-Switching in jQuery
by bedlam.myopenid.com,
February 13, 2009 00:13
If this idea is that only o...
var timer;
function countdown(remain,messages, reset){
if (reset == true)clearInterval(timer);
...
JavaScript On countdown timer (minutes &a...
by StevenMc,
February 06, 2009 11:36
I love this solution. Unfor...
<a id="x_back_button">Back</a> <a id="x_forward_button">Forward</a> ...
JavaScript On Element Slider for Prototyp...
by r.healy.myopenid.com,
February 06, 2009 10:00
More element based. Some ch...
$('.answer_filter').change(function () {
var select = $(this);
...
...
JavaScript On Get the id of a <select&...
by paul.wilkins.myopenid.com,
January 27, 2009 18:59
The filter variable is the ...
$('.answer_filter').change(function() {
var filter = $(this);
var select = $('#' + filter.attr('id'));
...
jQuery.fn.checkNext = function() {
if (this.is(':selected')) {
this.attr('selected', false);
...
JavaScript On Check next option in select...
by Tien Dung,
January 26, 2009 01:22
Simo refactoring is great. ...
jQuery.fn.checkNext = function() {
if (this.is(':last-child') && this.is(':selected')) {
this.attr('selected', false).parent().children(':first').attr('selected', true);
...
JavaScript On jQuery One-Liner
by Adam Soltys,
January 24, 2009 01:22
Rene, I'm the culprit with ...
JavaScript On jQuery One-Liner
by Rene Saarsoo,
January 23, 2009 22:28
What ever the rest of the c...
$(document).ready(function(){
// how many results do we want?
var resultsMax = 15;
...
JavaScript On Split text into unordered l...
by keif,
January 23, 2009 20:25
Awesome - thanks! I'm makin...
/* jquery.fieldjump.js */
jQuery.fn.jumpsTo = function() {
...

As the error variable is ju...