JavaScript Interview Questions
Questions Answers Views Company eMail

Write a Program of Simple Calculator in JavaScript using HTML.

1 7383

What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }

2132

In Java coding we will write a public static void main()? Why won't we write as a static public void main()

1500




what is service now ticketing tool how it works

Ideal Vision,

4443

How to create scale in P info

MAHINDRA,

1259

what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.

986

Describe what u had done today?

Genpact, Sams,

1161

Please write the Code of simple javascript calculator withot eval() function

842




what is a code in vb amount display in words

663

Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).

613

why we need java instead of c

TCS,

523

what is a difference of subclass and main class

536

a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.

IBM,

423

A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a java program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

628

write a program using javascript/ vbscript that checks if two matrices have identical values in all the elements.

1 1985


Post New JavaScript Questions






Un-Answered Questions { JavaScript }

Explain the steps for connecting the system to Internet.

1048


How do you implement Ajax using hide() function in JQuery?

1099


How to test 404 page in QA

1313


How can we establish connection with java and sql server?

931


how to use java script

824






how to hide alphabets in java as password '*'

1050


just for testing

1137


java pgm for compare two vesion and print the greatest version on the console. e.g: like 1.4.2 and 1.5.2 biggest is 1.5.2 1.2.5 and 1.2.8 biggest is 1.2.8

970


Program to return the address family of a socket

234


hi i want validations for two drop down lists. when user enter to second list by skipping first list alert box should appear. drop down validation Please choose an item from the drop down menu:

Choose a username:
Choose a username:
please any body help me thanks

999


all possible test cases for normal number field,name field date field,check box,

232


what is the function of public class main ?

909


Iam getting xml when we click on one button.Iam placing that xml in dom.Im getting that xml data in one xsl.In that xsl I want to increase the variable value which is declared in xsl. Ex: ffftt eeeeiii uuuuwww fff eeee uuuu

1093


what difference between args.length and args.length() in command line argument?

1062


Write a program in Java to display the IP address of the local and remote machine.

1154