Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 14 15 16 17 18 ... 46
Guess the type of any object applying ducktyping
1 1190 posted 15 years ago by pablo_PXL
0 1459 posted 15 years ago by BebenKoben
Template for a Object Literal Architecture in javascript, in this case jQuery
0 1381 posted 15 years ago by athanassiadis
0 1643 posted 15 years ago by paul66
1 1215 posted 15 years ago by tgarceau
Simple jQuery script to load additional content when you near the bottom of the page, same sorta thing Twitter does (although I originally programed it for a different use). Only thing of remark is the fact that it stores the current highest loaded v...
4 2773 posted 15 years ago by FatFolderDesigner
0 1158 posted 15 years ago by rubdottocom
0 1528 posted 15 years ago by danhanly
1 991 posted 15 years ago by cwylie0
This script handles table sorting, is easy to implement and to alter and has decent documentation. I did not write this JavaScript, rather, I found it here: http://www.kryogenix.org/code/browser/sorttable/ I used this script on the ACEE WordPr...
0 1689 posted 15 years ago by racl101
I did not, in fact write this script. I found it here: http://www.webtoolkit.info/javascript-url-decode-encode.html
0 1394 posted 15 years ago by racl101
ExtJS is great for OO style interface design but has a couple of strange behaviors. For instance when adding the ExtJS RowExpander plugin to a grid, the plugin overrides the gridView's getRowClass function. That's not really what you want. For instan...
0 1899 posted 15 years ago by misterb101
I saw this useful little variation of a for loop in a tutorial by Kevin Yank at Sitepoint. By adding an additional variable "ii" in the loop's arguments, you can avoid having your program calculate the length of your array every time it loops through...
1 1745 posted 15 years ago by danielwrobert
This tiny jQuery plug in forces a user to enter only numeric values on an input field by silently removing non-numeric values as they're entered. (Caution: Never rely on client-side validation; use server-side validation as well)
2 2269 posted 15 years ago by BrunoDeBarros
No permite ingresar la ñ o Ñ
0 1661 posted 15 years ago by elquemero
Just syntax examples here. First block reads, second writes. Top function just a debugging helper. Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as $(xData.responseXML).find("nodeName='z...
0 2428 posted 15 years ago by rumremix
keeps hover states on for top level dropdown menu items or accordions
1 1538 posted 15 years ago by jelontok
Use case: * Paste the javascrit BEFORE the closing body tag `</body>`
0 1537 posted 15 years ago by mnstefan
Quick and easy javascript in_array function. It's not perfect, but if you need something quick, this is it.
1 1366 posted 15 years ago by cornellsteven
copy from google code search result page
0 1254 posted 15 years ago by sospartan
1 ... 14 15 16 17 18 ... 46