Create a cross-browser (works in Firefox and MS IE)

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

a. Alternative row color table using ClassName

b. Input validation and error message

c. Hide on mouseover, show on mouse out

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

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

3. 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.

1. 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.

2. 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;


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

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

3. 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.

Beceriler: Javascript

Daha fazlasını görün: yellow objects, what is on a background check, what is in a background check, what is a background check, what do background checks show, style background color javascript, row 44, coding event, what is a javascript, i works, works, simply comments, row b, red cross, page objects, odd, numeric, ms s, mouseover, it works, ie, html works, firefox, cross browser, create two

İşveren Hakkında:
( 6 değerlendirme ) Lorton, United States

Proje NO: #699280



7 years of JavaScript experience. I'll do this in no time. PS: JavaScript has a build in function isNaN(string) which returns true if the string is not a number. Can be used instead of your function, if you say so.

1 gün içinde 30$ USD
(3 Değerlendirme)

5 freelancers are bidding on average $86 for this job


Please see PMB for more details...

in 4 gün içinde150$ USD
(33 Değerlendirme)

Good day, please check your inbox.

in 3 gün içinde100$ USD
(1 Değerlendirme)

please check PM

1 gün içinde 70$ USD
(1 Değerlendirme)

Hello, I have read your requirements, understand what you need and can provide my services for this job. I have flare of programming using new techniques, so please give me a chance to prove my worth. I am very k Daha fazlası

1 gün içinde 80$ USD
(0 Değerlendirme)