JavaScript Code Interview Questions
Questions Answers Views Company eMail

write a program segment that will ask the user if he wants to computer the perimeter of the area of the triangle. if the perimeter is wanted, ask the measure of the three sides and compute for the perimeter. if the area is wanted, ask for the measures of the base and height and compute for the area. display the computed value

1 5195

i am making a purchase sheet in html ,it contain names of product(by selecting checkboxes),quantity(textbox) and price(checbox), by using java script i am restricting the user to prevent them to enter the wrong data ,so i made the servlet were i am only able to prevent them to enter the page in empty field , so my doubt is how do you prevent them how to enter non numerical data in quantity field

Infosys,

2 3389

BASIC CALCULATOR


how do i make the calculator work now

1 2482





Post New JavaScript Code Questions






Un-Answered Questions { JavaScript Code }

sample code to auto focusing the first field in a form

1584


Code to Block submission of form by pressing Enter Key

1638


determine which Element received an Event

1449


how to copy form data between different pages

1235


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example:


code to keep a page Out of the browser history

1154


maximizing the main window

1165


code to images to rollover

1364


how to create a Draggable element

1360


how to get the User's Time of Day

1221


communication between main window and new windows

1244


code to positioning of window in certain dimensions

1201


how to pass data between pages using Frames

1677


function to combine two or more arrays

1227


program to bring a window to the front

1105