Freelancer

3 Simple Javascripts  

3 Simple Javascripts is project number 144134
posted at Freelancer.com. Click here to post your own project.


| More Free Trial For New Buyers
 

Status: Awarded

Selected Providers: phpdoctor

Budget: $30-100

Created: 05/09/2007 at 7:44 EDT

Bid Count: 7

Average Bid:
N/A

05/14/2007 at 7:44 EDT

Project Creator: FreelanceFreedom
Employer Rating: 9.9512/109.9512/109.9512/109.9512/109.9512/109.9512/109.9512/109.9512/109.9512/109.9512/10 (41 reviews)

Bid On This Project
 

Description

I am in need of the following three simple javascript functions for my site:

1.) user inputs text in a one-line text area (html form), if it contains any other characters than letters, numbers and _ it deletes the character and gives a visible error to the user.

So in short:
username - okay
user_name_3 - okay
user* - not okay, deletes * and gives error

2.) user inputs text in a one-line text area (html form), it fills out another one-line text area (in the same form) after sending the text through a web-safe cleanup function (i have that code in php, not sure how helpful that is, you will probably need to adapt it a bit, but it's really easy)

area1: This Is Something I Wrote
area2: this_is_something_i_wrote

3.) Randomize date - there are three dropdowns in the html form - one for year, one for month and one for day. I would need a button or something to click that would randomize these values, preferably over the next 6 months.

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids. You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


    Bid on this Project