function mark_for_destroy(element,type) {
$(element).next('.should_destroy').value = 1;
$(element).up(type).hide();
...
JavaScript On Combining javascript for 2+...
by yaleman,
October 18, 2007 08:49
JavaScript On Beautify JS Date to how rec...
by Andre Steenveld,
October 17, 2007 11:38
It's a bitwise operation wh...
JavaScript On Is this year a leap year?
by Ali Karbassi,
October 13, 2007 19:08
Owen:
According the Wikipe...
JavaScript On Beautify JS Date to how rec...
by richardhealy,
October 12, 2007 09:15
Tomasz! Nice little bit of ...
//usage: "my sentence: cats, dogs, and fish".capitalize_all() == "My Sentence: Cats, Dogs, And Fish"
String.prototype.capitalize_all = function(){
return this.replace(/(\w+)/g, function(word){
...
String.prototype.ucFirst = function(){
var words = this.split(" ");
...
String.prototype.ucFirst = function(){
var words = this.split(" ");
...
String.prototype.ucfirst = function()
{
var text;
...
String.prototype.ucfirst = function()
{
return this.substring(0,1).toUpperCase()+this.substring(1);
...
function check(formName) {
var labels = formName.form.getElementsByTagName('label');
...
JavaScript On Simple Form Validation
by Spencer Sutton,
October 07, 2007 23:22
A very simple solution for ...
var Aux = {
multiformatEditor : function(target, value, onExit) {
function switchToHTML() {
...
JavaScript On AJAX rich text widget
by Spencer Sutton,
October 07, 2007 22:32
Here is my best try, I have...
Object.extend(Date.prototype, {
isLeap: function(){
return !(this.getFullYear() % 4);
...
JavaScript On Is this year a leap year?
by Owen,
October 07, 2007 19:07
Since all leap years are mu...
JavaScript On Tracking File Downloads Aut...
by Bosko,
October 04, 2007 20:38
he does that because google...
JavaScript On Tracking File Downloads Aut...
by macournoyer,
October 04, 2007 19:07
Nice script deleteme (wtf's...
JavaScript On Simple Form Validation
by Ali Karbassi,
October 04, 2007 08:27
Travis: I love jQuery and a...
JavaScript On Simple Form Validation
by travis,
October 04, 2007 07:09
oops, the button should be ...
$(function() {
$("#formID").bind("submit", function() {
...
JavaScript On Simple Form Validation
by travis,
October 04, 2007 07:06
You could really reduce you...
function check( formName ) {
var err = [];
...
JavaScript On Simple Form Validation
by Sean Catchpole,
October 03, 2007 16:40
While I'm sure there are ot...
JavaScript On Simple Form Validation
by Squeegie,
October 03, 2007 09:15
if you want that button to ...
Date.prototype.when = function(){
var diff = (new Date() - this)/1e3,
u = [ "second", "minute", "hour", "day", "weeks", "month", "year" ],
...
JavaScript On Beautify JS Date to how rec...
by Tomasz `neo` Kołodziejski,
October 03, 2007 06:20
I think that using the getT...
JavaScript On Simple Form Validation
by Andre Steenveld,
October 03, 2007 00:35
What is your question exact...
Object.extend(Date.prototype, {
isLeap: function()
{
...
JavaScript On Is this year a leap year?
by Ali Karbassi,
October 02, 2007 19:03
Going of what "br" said and...
Date.prototype.when = function(){
var diff = ( ( new Date(0) ).getTime() - this.getTime() ) / 1000,
units = [ "60|second", "60|minute", "24|hour", "7|day", "4.333|week", "12|month", "1|year" ];
...
JavaScript On Beautify JS Date to how rec...
by Andre Steenveld,
October 02, 2007 16:06
Any short than this would b...
Date.prototype.when = function(){
var diff = ( ( new Date(0) ).getTime() - this.getTime() ) / 1000,
units = [ "second", "minute", "hour", "day", "weeks", "month", "year" ],
...
JavaScript On Beautify JS Date to how rec...
by Andre Steenveld,
October 02, 2007 14:02
I was very very impressed b...

now you can feed it .phone ...