Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- 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
2483
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
1946
posted 15 years ago by StevenW721
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0
1744
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
1255
posted 15 years ago by itsaboutcode
This is an extension method for splitting strings with a regular expression.
0
1969
posted 15 years ago by gyurisc
nice post, would do it a bit differently but using it currently as-is.
0
1761
posted 15 years ago by dmistriotis
Uses LDAP to find EMail address by using the sAMAccountName.
Add System.DirectoryServices to references.
0
2100
posted 15 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address.
Add System.DirectoryServices to references.
0
2554
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
1615
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
2266
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
1715
posted 15 years ago by fjarrett