Restrict input to alphanumeric and uppercase





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

« Previous 1 2 3 4 5 6 7 8 9  ...  12 13 Next »
2
Date Submitted Wed. Mar. 7th, 2007 8:57 AM
Revision 1
Beginner stalkerX
Tags DOM | Element | JavaScript
Comments 1 comments
Remove all children of Object.
8
Date Submitted Tue. Mar. 6th, 2007 7:26 PM
Revision 1
Helper albud
Tags JavaScript | String
Comments 1 comments
I like to have these two methods in my toolbelt, even though it's syntactic sugar, I think it aids clarity.
7
Date Submitted Sat. Mar. 3rd, 2007 5:55 AM
Revision 1
Scripter shachi
Tags foreach | JavaScript
Comments 4 comments
Just a small snippet I discovered when I was tired writing somearrayname\[i\] I thought there was something like foreach in javascript but couldn't find any so why not make one?
For those foreach(){...} lovers.

Hope it makes your life easier.
14
Date Submitted Thu. Mar. 1st, 2007 2:09 PM
Revision 1
Helper ushi
Tags ajax | Chat | JavaScript | PHP
Comments 3 comments
Simple chatting script to be placed on a corner of a website
Also a good example how to use ajax.
10
Date Submitted Wed. Feb. 28th, 2007 3:35 PM
Revision 1
Helper mjlintz
Tags JavaScript
Comments 2 comments
Highlight table row on rollover.
9
Date Submitted Fri. Feb. 23rd, 2007 1:16 AM
Revision 1
Scripter Casper42
Tags CSS | JavaScript
Comments 2 comments
There seems to be so many hide/show scripts out there, so here's the functions I wrote and use on a regular basis - there are 7 functions, hide, show and toggle by id or class - and the getElementByClass function that does not exist as a built in Javascript function...

This is in response to the flurry of visibility scripts that just don't have all the pieces needed to make them totally useful.
8
Date Submitted Wed. Feb. 21st, 2007 8:53 AM
Revision 1
Beginner mikedowson
Tags CSS | JavaScript
Comments 2 comments
An easy way to hide and show div's using Javascript and CSS.

Basically just a slight variation on this script by Real Gagnon.
9
Date Submitted Thu. Feb. 8th, 2007 10:05 AM
Revision 1
Helper dohpaz
Tags "web safe colors" | JavaScript
Comments 0 comments
I had searched high and low for a way to generate a palette of web-safe colors. Despite Google's best efforts, what I had found was lacking for my needs. So, I decided to write a library that would generate all 216 web safe colors, and then allow me to manipulate those colors in any way that I chose.

If anybody is curious as to why I would want to do something so... simple, it is because I needed a very light-weight color picker, and didn't want to mess with any fancy options.
14
Date Submitted Sun. Jan. 28th, 2007 1:18 PM
Revision 1
Scripter Fordiman
Tags JavaScript | json | sort
Comments 0 comments
Flexible sorting algorithm based on Quicksort with extra functionality, such as:
- Direction (ie: ascending or descending)
- Sort-by-path (eg: item.name, item.name.firstName or item[5])
- Sorting function (returns true if two items are already sorted)
- Type checking
- All constants and support functions are members of the Sort() function
- Testsuite with hooks for cscript and in-browser javascript, so you can tweak and optimize, and make sure it still works
- Environment agnostic (can use with, say, SpiderMonkey or .Net's jsc)
24
Date Submitted Sun. Dec. 24th, 2006 7:10 PM
Revision 1
Beginner bhmahler
Tags HTML | JavaScript | PHP
Comments 4 comments
This is a PHP and JavaScript Image gallery that I created. There are 2 uses for this.
1.) You can save it as index.php and place in a folder containing images and it will display the images in that folder.
Example:
place index.php in images/folder
http://yoursite.com/images/folder/
This will display all images in that folder

2.) Pass in the path to the folder to display in the url
Example:
Save as imagegallery.php
http://yoursite.com/imagegallery.php?path=images/folde
« Previous 1 2 3 4 5 6 7 8 9  ...  12 13 Next »