Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 26 27 28 29 30 ... 46
Amazing form validator using the jQuery framework!
1 1464 posted 16 years ago by jaff
Passing values between ASP.NET and JavaScript code is messy...
0 1425 posted 16 years ago by streamt
Many times we face situation like when we need to access the code behind variables from javascript as well as accessing javascript variable from code behind. I can remember a practical scenario in my previous project. The requirement was to dra...
0 1701 posted 16 years ago by streamt
0 1097 posted 16 years ago by desmond54
link to plugin http://projects.exvoto.org/jquery-extjsoncookie/
1 1391 posted 16 years ago by almazom
default.aspx?id=5 queryString('id') will return 5 Also this will convert to lower case. IIS / ASP.net is not case sensitive so my function isn't either.
0 1048 posted 16 years ago by derekholmes
[Источник](http://sreznikov.blogspot.com/2010/01/supplant.html)
0 1282 posted 16 years ago by vissper
listsEqual(["1","2"], ["1","2"]) is true;
0 1378 posted 16 years ago by prudnikov
0 1384 posted 16 years ago by arthipesa
This plugin will, by default, truncate a block of text down to one line at its current width (if the text block exceeds 1 line). You can also pass in a pixel value and it will truncate it to that width.
0 2670 posted 16 years ago by adamcoulombe
Load swfobject from google & embed dynamically
2 1684 posted 16 years ago by jcprovideo
0 1219 posted 16 years ago by wbednarski
An implementation of class inheritance in JavaScript.
0 1337 posted 16 years ago by wizard04
Con esto evitamos que un enlace que tengamos con 'href="#"' actue como tal y la pagina haga scroll hasta la parte superior.
0 1101 posted 16 years ago by jacinmontava
prevent errors on non-firebug browsers
2 1318 posted 16 years ago by wbednarski
Run in the FireBug console, and copy the output. An odd class is included for row striping, and the number of items can be controlled via the for loop.
1 1472 posted 16 years ago by Jamie
Looked for a simple, efficient cross-fading script that does it properly without fading to the background color. This script uses z-indexes to prevent the background from ever showing, creating a smooth fade.
0 1197 posted 16 years ago by relaxasaurus
I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn’t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up...
1 2108 posted 16 years ago by Meander365
async loading
0 1208 posted 16 years ago by peterbelsky
1 1304 posted 16 years ago by iaian7
adapted from http://jquery14.com/day-05
10 2107 posted 16 years ago by cfleschhut
This is an improvement on http://snipplr.com/view/11583/retrieve-url-params-with-jquery/ I found IE wasn't liking the results[1] when no param was set. This fixes that issue.
6 4878 posted 16 years ago by geekyjohn
1 ... 26 27 28 29 30 ... 46