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


2 3389


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


Code to Block submission of form by pressing Enter Key


determine which Element received an Event


how to copy form data between different pages


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


maximizing the main window


code to images to rollover


how to create a Draggable element


how to get the User's Time of Day


communication between main window and new windows


code to positioning of window in certain dimensions


how to pass data between pages using Frames


function to combine two or more arrays


program to bring a window to the front