JavaScript Interview Questions
Questions Answers Views Company eMail

why you used Java Script? Can it use for both client side and server side validation purpose?

HCL, Wipro, BeBo Technologies,

12 12853

How do you send a message to the browser in JavaScript?

Four soft, Vsys,

3 7190

What are the security related issues in JavaScript scripts?

Four soft,

3 7542

Does javascript support multidimensional arrays ?

4 5818

Can you call a Java Applet using a JavaScript function?

HCL, Satyam,

2 6154

Can any one tell me how Java is purely an Oops language

3 3194

What is the use of the String Tokenizer

1 6098

What is the relationship between JavaScript and ECMAScript?

Satyam, NIM,

4 14006

What are JavaScript types?

Infosys, Satyam,

10 15096

How do you convert numbers between different bases in JavaScript?

Wipro, Satyam, College School Exams Tests, UIST,

4 9263

What does isNaN function do?

Satyam,

2 7327

What is negative infinity?

Satyam, CoKinetic,

2 5394

What boolean operators does JavaScript support?

HCL, Aptech, Satyam,

5 9075

What does "1"+2+4 evaluate to?

Satyam, Acheron,

9 15961

How about 2+5+"8"?

Satyam,

6 4494


Post New JavaScript Questions


Un-Answered Questions { JavaScript }

accessdenied javanet disconnet

632


I need project details about WEB CONTENT FILTERING USING NEURAL NETWORKS and how to explain it....plz help me in this topic.....

769


Are there any training Institutions on iphone Automation testing?

854


coding of java scripts

486


What's Prototypes for JavaScript

592


Write a main method that prompts the user to enter the starting population, birth and death rates, and the number of years. The input birth and death rates cannot be negative, the starting population cannot be less than 2, and the number of years greater than 0. If the user enters an invalid value, this program will prompt user to re-enter the value until a valid value has been read. When all input values are valid, call on the methods above to compute estimated population and print result.

851


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

667


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.

140


Are there any iphone Institutes which also train iphone automation testing in Hyderabad?

668


Define an interface MilitaryPower that has the following properties: • The interface has two public static final variables which are the finite x and y coordinate (i.e. the distance of the objects should not exceed these values. These values set to 100. • The interface has a method move that moves the military power objects to the target value. The method will be implemented by the other classes. The return type should be void. B) Define an enum class Direction which contains the directions (EAST, WEST, SOUTH, NORTH). C) Define a concrete class Tank that implements MilitaryPower, has the following properties: • XCoordinate (Integer), YCoordinate (Integer) are the instance variables for this class. • All instance variables should be private. • Write a parametered constructor that takes two parameters assigning with the instance variables. • Write a set and get method each of the instance variables. • Write a method move that takes two parameters. One of them is distance which type is integer. Another is direction which type Direction. The method should to the following: o If the direction is EAST, set the x-coordinate with adding distance. o If the direction is WEST, set the x-coordinate and subtract distance from x-coordinate. o If the direction is SOUTH, set the y-coordinate with adding distance. o If the direction is NORTH, set the y-coordinate and subtract distance from x-coordinate. • Write a method toString to display the tank coordinates. D) Define an array holding 10 MilitaryPower objects, all of them being a Tank. Then display each of the object information on the screen. (display its movements and coordinates).

846


Write a program that inputs a 5-digit integer from the keyboard and prints if the input number is a palindrome or not. A palindrome is a number which has the same digit from either end.

2171


How Can I get facebook fans/likes?

513


How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

2447


The below script is working Internet browser but not working in mozilla plz find that good way... function doSubmit(op){ var rowcount=document.getElementsByName ("parameterTypeId").length; var parameterGrade; var performance; var goal; if(op == "save"){ for (var i=0; i < rowcount; i++) { var param=eval("document.forms [0].parameterGrade"+i); if(param.value != "select"){ return true; } } alert("Please rate atleast one attribute"); return false; }//if ends here

1060


Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..

655