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 6116

what is runnable interface

1 4342

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

IBM, Infosys, TCS, Bugatti,

13 36956

can any one tell me the syllebus for java certification

2 2250

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 9021

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

3 28593

find the common prime divisors of two given numbers


disbable back option by java script


5 7838

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 4069

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 4745

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 60054

Post New JavaScript Questions

Un-Answered Questions { JavaScript }

how to write frame work Architecture in QTP


How Can I get facebook fans/likes?


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


coding of java scripts


how to use java script


what is the function of public class main ?


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.


wap to accept an int array frm the user and print the lucky nos.


Public Static Void Main(String args[]) {"Hai.."); } In the above code why string args[] is required.... If we are not giving command line argument..


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


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


I am providing the Online& class room training on Worksoft Certify for SAP/HTML/JAVA using real time scenarios in a real time environment for a real time project, If any one is interested please get in touch with me on


can wwe trace a java program (class)


Program to return the address family of a socket


What is the main difference between Map collections and other collections such as Set.