Welcome To Snipplr


Everyone's Recent Snippets



1 ... 208 209 210 211 212 ... 553
0 1103 posted 15 years ago by takel
0 1379 posted 15 years ago by takel
0 1163 posted 15 years ago by takel
4 2875 posted 15 years ago by takel
0 1261 posted 15 years ago by gabbo
possibilitar a leitura de cada chave específica do google maps para cada domínio respectivo à chave
0 1358 posted 15 years ago by rbulgueroni
Nothing special, just need it here to remember
0 1187 posted 15 years ago by RWolford
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 1998 posted 15 years ago by BrunoDeBarros
0 2764 posted 15 years ago by StephFR
Previously, I posted a little snippet I found on how to generate a special body class on each .php page. I, later, needed to get that body class and echo out a piece of HTML, which depended on my current page. So here is the snippet that I came up wi...
0 1488 posted 15 years ago by danielwrobert
A very simple HTML redirect that I found useful for a contact form confirmation. The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url. For example, you could set this to...
0 1644 posted 15 years ago by danielwrobert
The filter only needs to know which requests need to be returned as JSONP, doesn't care how. Modify "OnBeginRequest" accordinly. If original .asmx doesn't return JSON, extend it like example shows. JSONP only works for GET requests, so don't forget...
0 1482 posted 15 years ago by FMalk
No permite ingresar la ñ o Ñ
0 1462 posted 15 years ago by elquemero
Also seen for now at carinsurancerates.com Assembled this in 2008 and have used it numerous times since then, reliable chunk of code. Jquery can be used to add a nice slide down option like on carinsurancerates.com
2 1585 posted 15 years ago by toltmanns
Check for empty variable. proceed accordingly
0 1010 posted 15 years ago by yoblob
Use this static class to encode and decode HTML Entity Names. For some reason Snipplr doesn't display all the code, so download the ZIP file for a full working demo and source code.
0 2887 posted 15 years ago by adrianparr
Implementacija binarnog stabla pomocu polja
0 1186 posted 15 years ago by vjalsic
0 1097 posted 15 years ago by anspevec
0 901 posted 15 years ago by matijaplastic
0 2286 posted 15 years ago by AndreasKT
It's working now. Just having issue with it applying to all columns. Need to keep checking. (IE. have to tax's for testing, only one has the additional meta info attached, but they are both showing in the column as having the address as "active" (usi...
1 1270 posted 15 years ago by thefrosty
This was more of a go at learning the basics of OOP, however I decided to document it well in case anyone had any comments. Note: It only works with single files, no directory usage.
0 1290 posted 15 years ago by asdasDan
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 2131 posted 15 years ago by rumremix
Add this in the functions.php file, in your Wordpress theme.
0 1922 posted 15 years ago by ddavidd
From an awesome comment on how you can use PHP to apply the unique ID to to the body element. This will return the name of the PHP file being executed as the ID (e.g. body id="index.php"). To leave off the .php part, just remove the ".php" part.
0 1836 posted 15 years ago by danielwrobert
1 1420 posted 15 years ago by adambundy
1 ... 208 209 210 211 212 ... 553