Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Modifies the file name in case an existing filename is in the specified path.
(Ex: myfile.dat
myfile(1).dat
myfile(2).dat
myfile(3).dat)
0
2490
posted 15 years ago by Sazabi02
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
1952
posted 15 years ago by StevenW721
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0
1751
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
1257
posted 15 years ago by itsaboutcode
This is an extension method for splitting strings with a regular expression.
0
1976
posted 15 years ago by gyurisc
nice post, would do it a bit differently but using it currently as-is.
0
1765
posted 15 years ago by dmistriotis
Uses LDAP to find EMail address by using the sAMAccountName.
Add System.DirectoryServices to references.
0
2106
posted 15 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address.
Add System.DirectoryServices to references.
0
2562
posted 15 years ago by poxet
1067: Implicit coercion of a value of type __AS3__.vec:Vector.<com.Gallery:VOItem> to an unrelated type __AS3__.vec:Vector.
0
1616
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
2272
posted 15 years ago by Meander365
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
1721
posted 15 years ago by fjarrett