ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
7
Date Submitted Fri. Jul. 20th, 2007 11:12 PM
Revision 1
Helper lavaramano
Tags Array | getelementsby | JavaScript
Comments 1 comments
Returns an array with all the objects with certain class. tested on IE 6 and Firefox 2
4
Date Submitted Fri. Jul. 20th, 2007 7:34 PM
Revision 1
Scripter ColdKeyboard
Tags Array | debug | Show
Comments 0 comments
Very useful function that you can use to debug/show your array and it's contents.

Sometimes when you have problems with arrays and print_r() isn't very nice way to show array values because it shows everything in one line and then it is very hard to debug... this way I think it's much much easier.
16
Date Submitted Mon. Oct. 9th, 2006 2:58 PM
Revision 1
Scripter wiz1705
Tags Array | PHP | XML
Comments 1 comments
I've seen XML 2 Array functions done in other ways but this is the shortest implementation I've seen yet. I didnt write it myself though, but I thought I'd submit it for common good of this site. It uses regex and works prefectly.
7
Date Submitted Sun. Oct. 8th, 2006 9:28 PM
Revision 1
Beginner trevis
Tags Array | JavaScript | setTimeout | String
Comments 3 comments
I use this function when passing an array to a function being called from setTimeout();
13
Date Submitted Mon. Oct. 2nd, 2006 1:05 PM
Revision 1
Beginner drench
Tags Array | JavaScript | List | Random | shuffle
Comments 3 comments
It works with Array types. The example is a simple list of numbers, but the array could contain anything; lists of strings, functions, DOM nodes, whatever. Unfortunately, a lot of things that seem like arrays in the DOM aren't really, so you can't shuffle the images on a page with just document.images.shuffle() all by itself.
12
Date Submitted Tue. Sep. 12th, 2006 1:34 AM
Revision 1
Beginner Headzoo
Tags Array | JavaScript | PHP
Comments 3 comments
Given a PHP array (even a deep nested array), returns a string representation of that array as JavaScript array. Useful when using PHP to output JavaScript.
8
Date Submitted Fri. Aug. 4th, 2006 4:49 AM
Revision 1
Syntax Master sundaramkumar
Tags Array | JavaScript
Comments 0 comments
This code will remove specified no of elements in an js array , from the beggining of it.
6
Date Submitted Sun. Jul. 23rd, 2006 5:39 PM
Revision 1
Helper rugi
Tags Array | Java | Random
Comments 0 comments
Method for get n random number's
11
Date Submitted Wed. Jul. 5th, 2006 8:15 AM
Revision 2
Helper poncho
Tags Array | Name | PHP | String | Value
Comments 3 comments
Convert an irregular name=value pair string into a formatted array.
4
Date Submitted Fri. Jun. 9th, 2006 11:40 AM
Revision 1
Coder mattrmiller
Tags Array | find | PHP | search
Comments 0 comments
A simple search array example.
« Previous 1 2 Next »