Käynnissä

Simple JavaScript Help

1 of 3 = Create a cross-browser (works in Firefox and MS IE) web page:

Using anonymous JS methods, create an input field that always converts the user typed value into uppercase when the focus is taken away

Write JavaScript code so that anywhere you in the window, it shows the key you have pressed.

HINT: Use the event object for detecting the key.

HINT: To capture the event use [url removed, login to view]

HINT: Use [url removed, login to view](Keycode) to convert the keycode obtained from the event back to a character.

Do not simply just write the code, give detailed comments on why you did what to support your coding style.

2 of 3 = Create a cross-browser (works in Firefox and MS IE) input screen that takes in a client’s information for an order:

Full Name (text field)

Address (textarea)

Gender (radio button)

Date of birth (three dropdown lists – day, month, year)

“Send me newsletter” (checkbox)

Hidden total value for order (hidden field)

“Submit Order” button (button).

When the user is done with input, validate using the rules below:

At least 3 characters required in name

Must be over 18 years old

Gender must be selected

If validation passes, show the information in an alert box and write ‘Your order has been submitted’. Otherwise, alert the user with the appropriate validation error and set focus on the input field that failed validation.

Do not simply just write the code, give detailed comments on why you did what to support your coding style.

3 of 3 = Create a cross-browser (works in Firefox and MS IE) page that has the following headings:

Alternative row color table using ClassName

Input validation and error message

Hide on mouseover, show on mouse out

For item a, create a 10 rows by 3 column HTML table.

Then create two CSS rules called odd and even for which odd’s background color is white an even’s is yellow.

Next register a JavaScript function called ApplyAlternateRows with the onload event that iternates through the rows of the tables and applies the odd class to every odd table row and even class to every even table row

Hint: Get a handle on the table object and iterate through its rows. Use the objects length and rows[] properties.

For item b, create a form with a single input field and a regular HTML button right next to it with a value of Validate.

Then register a JavaScript function called CheckNumeric with the button’s onclick event which ensures checks if the input is not numeric, it displays a message to the right of the button in red.

Hint: Use the function provided below to check if the input is numeric or not.

function IsNumeric(sText) { var ValidChars = "0123456789."; var IsNumber=true; var Char; for (i = 0; i < [url removed, login to view] && IsNumber == true; i++){ Char = [url removed, login to view](i); if ([url removed, login to view](Char) == -1){ IsNumber = false; } } return IsNumber; }

For item c, create a link with any text and no target.

Then create a single table with a single row with a single cell with background color set to red.

Next, write code hide the table when your mouse moves over the link and show it again when the mouse moves away.

Do not simply just write the code, give detailed comments on why you did what to support your coding style

Taidot: Javascript

Näytä lisää: yellow objects, yellow characters, yellow character, what is your full name, what is in a background check, what do background checks show, style background color javascript, string b, show full name, name validation in javascript, js coding, javascript get full month, get length of string in c, coding window, coding event, client target, at properties, javascript simple key, capture input html table, javascript rows validation, javascript displays odd, javascript mouseover hint support html, date validation years javascript, java script validate year, javascript firefox alternative rows

About the Employer:
( 1 review ) Twentynine Palms, United States

Projektin tunnus: #407624

Myönnetty käyttäjälle:

atullloveindia

Hello RBrown, I am interested in doing this for you. I am an expert in web applications and extensively working on the same kin od applications since last 7 years. Please see PM for more details. Thanks in advance.

30 $ USD 2 päivässä
(0 arvostelua)
1.0

9 freelanceria on tarjonnut keskimäärin 45 $ tähän työhön

Techdexter

Hi Rbrown, I am a javascript expert, eager to work for you, £50 - completed code in hours. Looking forward to hear from you. Techdexter, Glasgow, UK.

50 $ USD 1 päivässä
(0 arvostelua)
0.0
loenk2x

Hi, may I help you?

30 $ USD 1 päivässä
(0 arvostelua)
0.0
mankit1503

Hi Rbrown, I am a javascript expert, wants to work for you, completed code in 1 day. Looking forward to hear from you. Thanks Ankit

30 $ USD 1 päivässä
(0 arvostelua)
0.0
RarePal

please check my pm

30 $ USD 1 päivässä
(0 arvostelua)
0.0
rajitha855

I am new to this site. but our team is having experience on java script from past 5 years.

30 $ USD 2 päivässä
(0 arvostelua)
0.0
orissaadvertise

I can do very easily...

35 $ USD 1 päivässä
(0 arvostelua)
0.0
femisoft

Hi, I am very much interested to take up this project. Please view PMB for more details. Regards, Mike.

100 $ USD 2 päivässä
(0 arvostelua)
0.0
mannatmarkan

Hi, i am professional J2EE developer with experience of 3 years , working for a good and reputed company in IT Park , Chandigarh. Please give me this owner to do something for you and prove myself independentl Lisää

70 $ USD 5 päivässä
(0 arvostelua)
0.0