Welcome To Snipplr


Everyone's Recent Snippets



1 ... 208 209 210 211 212 ... 552
4 3497 posted 15 years ago by takel
0 1683 posted 15 years ago by gabbo
possibilitar a leitura de cada chave específica do google maps para cada domínio respectivo à chave
0 1762 posted 15 years ago by rbulgueroni
Nothing special, just need it here to remember
0 1591 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 2608 posted 15 years ago by BrunoDeBarros
0 3376 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 1954 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 2122 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 1918 posted 15 years ago by FMalk
No permite ingresar la ñ o Ñ
0 1938 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 2067 posted 15 years ago by toltmanns
Check for empty variable. proceed accordingly
0 1424 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 3478 posted 15 years ago by adrianparr
Implementacija binarnog stabla pomocu polja
0 1588 posted 15 years ago by vjalsic
0 1468 posted 15 years ago by anspevec
0 1251 posted 15 years ago by matijaplastic
0 2808 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 1779 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 1742 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 2774 posted 15 years ago by rumremix
Add this in the functions.php file, in your Wordpress theme.
0 2490 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 2349 posted 15 years ago by danielwrobert
1 1968 posted 15 years ago by adambundy
0 1972 posted 15 years ago by vagrantradio
1 ... 208 209 210 211 212 ... 552