javascript and hex validation

They have: 461 posts

Joined: Jul 2003

i have a page for finding colors in hex by placing in rgb codes in decimal or percent... i decided to try to add hex. the version with hex wont work once you submit in hex. i don't understand why. was wondering if anyone can help me get the hex to work.

location of the working version without hex that i plan on using until i can get hex: http://24.91.157.113/findyourdesire/colorfinder.php

location of the version with hex, but dies when you try to use hex, and i'd like help getting hex working: http://24.91.157.113/findyourdesire/vcf.php

any help would be greatly appreciated. i didn't copy the code because i'm clueless as to why it's not working, so i figure a demo would be the best thing

fixed. there were two minor eerrors added together. the vcf link nolonger exists and corrected full version is at the other one

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.