Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 252 253 254 255 256 ... 552
The following JavaScript will validate an email address using strict rules when a form is submitted.
0 2060 posted 16 years ago by jprochazka
The following function does a very simple check on the supplied string to help ensure it is a valid email address.
0 2406 posted 16 years ago by jprochazka
The following function validates and returns TRUE or FALSE if the supplied string could be a valid domain name format.
2 2277 posted 16 years ago by jprochazka
A simple example of how to send an email using PHP's build in mail() function.
0 1768 posted 16 years ago by jprochazka
The following JavaScript will validate if a 10 digit phone number was supplied once the form is submitted.
0 1714 posted 16 years ago by jprochazka
Definitivo. Errore bassissimo.
2 2518 posted 16 years ago by tuffo19
This code can be used to create a MVC View User Control (.ascx) that will display a cascade or select all button with a clear button for checkboxes arranged in a hierarchy.
1 1893 posted 16 years ago by mattvbiggs
1 1806 posted 16 years ago by limepix
First you have to add a custom value with a correct date format. The lines: `AND CAST(wpostmeta.meta_value AS DATE) > '".date("Y-m-d H:i:s")."' AND CAST(wpostmeta.meta_value AS DATE) < '".date("Y-m-d H:i:s", $date2)."' ` are only used to select d...
0 2689 posted 16 years ago by Mat_
1 1959 posted 16 years ago by sb_01
1 1738 posted 16 years ago by sb_01
1 2073 posted 16 years ago by Mat_
0 2003 posted 16 years ago by moonbather
load it at the very end of the css file
1 1985 posted 16 years ago by crs
From http://snipplr.com/view/41051/jscrollpane-ipadiphoneipodios-scoll-support/ here the part of code to add in jScrollPane.js for android,iphone,ipod,ipad support. Add this after :if (isScrollable) { (around line 165)
3 2142 posted 16 years ago by Xeldar
1 1889 posted 16 years ago by CJness
pass in 2 json objects returns an array of all differences included those nested in children. _Q used internally to pass through to self, do not pass in _Q
0 2290 posted 16 years ago by tennison
0 1517 posted 16 years ago by CJness
0 1752 posted 16 years ago by lajlev
A simple gallery to build upon.
0 1826 posted 16 years ago by Kristain
1 2080 posted 16 years ago by theasta
0 1432 posted 16 years ago by theasta
This class is used to convert any WYSIWYG text to flash friendly text. Hope you people would like that.
0 1762 posted 16 years ago by aamirrajpoot
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1 2308 posted 16 years ago by f6design
Always force latest IE rendering engine (even in intranet) & Chrome Frame. Taken from the HTML5 Boilerplate.
0 2265 posted 16 years ago by f6design
How to get a custom product attribute inside a view (.phtml) file.
0 1811 posted 16 years ago by TioSolid
1 ... 252 253 254 255 256 ... 552