Web Application Development
One of our greatest specialties is doing custom web application development. We can build nearly any web application for your needs.
For giggles, below is a javascript that we wrote to create a random code string. It's pretty simple but was a necessary bit of code for one of our projects.
<script type="text/javascript">
function generate_random(size){
// Setup the code to be returned and set it to blank
var returncode = "";
// Setup the array of characters to choose from.
// It CAN be entire strings of array objects
var arrayitems = "0","1","2","3","4","5","6","7","8","9"
+ "A","B","C","D","E","F","G","H","I","J","K","L","M","N"
+ "O","P","Q","R","S","T","U","V","W","X","Y","Z";
var fullset = Array(arrayitems);
// run a loop to append characters to the returncode
// string maxing out the iterations at the "size" parameter
for(c=0;c<size;c++) {
// Get a random integer
var ran_number=Math.floor(Math.random() * (fullset.length));
// Append the character to the return code
returncode = returncode + "" + fullset[ran_number];
}
return returncode;
}
</script>
