Categories

Updated: 06/24/2003

Unique Random Numbers

This JavaScript picks up a number of unique random elements from an array. For example; if you have an array myArray consisting of 10 elements and want to pick 5 unique random elements. Suppose initially myArray[3] is picked randomly, then myArray[3] should not be picked again. If you want to pick 4 numbers, call the function like: pickNums(4).
Similar Scripts for "Unique Random Numbers"

Text Box Ticker

A Javascript Text Box Ticker that ticks a number of messages on a Text Box. This ticker is very easy to customise. You can add any number of messages and their corresponding URLs. Messages must be added to the array ticker_msg and the URLs must be ad...

Basic array building with javascripting

This is for those new to javascripting. This tutorial will show you how to create a javascript array in the internet browser.

Button Ticker

This is a Cross Browser Javascript Button Ticker that ticks a number of messages on a button.You can change the direction in which the message ticks. (i.e the order in which the message ticks). This ticker is very easy to customise. You can add any n...

Cross Browser Ticker

This is a Cross Browser Javascript Ticker that runs on MSIE as well as Netscape. This ticker is very easy to customise. You can add any number of messages and their corresponding URLs. Messages must be added to the array ticker_msg and the URLs must ...

Client-Side Scripting and ASP

This article looks at a couple of ways to get the code in the client-side and server-side to communicate each other: Using the Javascript Array and Using ASP and XML.
©2003-2008 jCay.com