Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 231 232 233 234 235 ... 552
Short and sweet, add the following two lines where you want to trigger a javascript function. Just change the javascript denoted in the code by "javascriptFunction()" with whatever you want to call. Also jsut in case make sure you have the allowScrip...
1 2108 posted 15 years ago by StevenW721
0 1569 posted 15 years ago by dkevey
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0 1836 posted 15 years ago by derebus
Write function "get_min_range" which returns the subscript of the smallest value in a portion of an array containing type int values. It has three arguments: an array, the first subscript in the subarray, and the last subscript in the subarray.
0 1350 posted 15 years ago by itsaboutcode
0 2138 posted 15 years ago by stephcode
This is an extension method for splitting strings with a regular expression.
0 2082 posted 15 years ago by gyurisc
nice post, would do it a bit differently but using it currently as-is.
0 1847 posted 15 years ago by dmistriotis
isNumber string extension method for testing strings.
2 2811 posted 15 years ago by gyurisc
useful if you only want digits as input
0 1519 posted 15 years ago by webstylr
Easy "back to top" scroll link
1 2118 posted 15 years ago by benwellby
0 1492 posted 15 years ago by laurentzziu
0 1696 posted 15 years ago by telltec
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 2204 posted 15 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 2663 posted 15 years ago by poxet
0 1662 posted 15 years ago by laurentzziu
1067: Implicit coercion of a value of type __AS3__.vec:Vector.<com.Gallery:VOItem> to an unrelated type __AS3__.vec:Vector.
0 1714 posted 15 years ago by alptugan
This is a cut down example using custom tabs (you can easily add a custom ajax event to load in content - just follow Ben Alman's example).
0 2376 posted 15 years ago by Meander365
0 1543 posted 15 years ago by tcelestino
This fixes the weird rendering in webkit of rounded corners
0 1748 posted 15 years ago by chippper
Simply replace 'Page Title' with your desired page title to automatically create the page when your theme is activated. Thanks to MattStrange for the original concept.
1 1814 posted 15 years ago by fjarrett
Backup a single table from a database
0 1804 posted 15 years ago by tribal
1 ... 231 232 233 234 235 ... 552