JavaScript Interview Questions
Questions Answers Views Company eMail

I am working on project in in which i have opned doc file on client side.plz send me coding on



What is the use of a form in html page? Is there any way to submit the page without using the form.

TCS, Kanbay,

3 5741

what is runnable interface

1 4217

where we use javascript and for which purpose we use javascript how?

IBM, Infosys, TCS, Bugatti,

12 35850

can any one tell me the syllebus for java certification

2 2091

Hi Friends, I am new to java, please provide some use full docs, and where can i get basic Java script docs... thanx in advance

8 8761

Advantages & Disadvavtages of Java Script? Advantages & Disadvantages of CGI Scripting? Structure of Java Script? Commands of Java Script? HTML Basic Reviews?

3 28065

find the common prime divisors of two given numbers


disbable back option by java script


5 7508

I have a report which has id as hyperlink.when i click the id it should move to next report which displays the corresponding details.tell me how to get the value of hyperlink(which id is clicked) dynamically using javascript? so that i can make condition on my second report?

2 3946

How to port a GUI application onto Web



hi iM questions is my project is a web based & developed using java,jsp. when i record it using qtp what script i will get like either browser("jdfjkf").page("nkf").... or javawindow("f d ").javaedit("Dasf").... plz clarify my doubt asap and i also need some vbscipt of java coding?


if the two text boxes are there i want assign the vales like 2&3 and if i select button means i want find the sum.this is client side scripting in javascript


7 4482

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


Write a javascript program to make a simple calculator

TCS, Anand Group,

11 58306

Post New JavaScript Questions

Un-Answered Questions { JavaScript }

Describe what u had done today?


java pgme for class members hours:minutes:seconds then the constructor expects milliseconds as assignment and initialize data members the members function print hh:mm:ss 90,000 milliseconds passed in constructor then the output is 00:01:30


What's Prototypes for JavaScript


why can't we call a static method from a non-static method


just for testing


How to change video files randomly after completing its execution in Javascript?


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; }


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


what is function of stdio.h


How Can I get facebook fans/likes?


How to test 404 page in QA


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


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


java pgm for reads a file(text file) and removes all the spaces then the text and write this back into the same file. e.g: (Input) _______ chennai is fourth biggest city in india. (output) _______ chennaiisfourthbiggestcityinindia.


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