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 6462

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 4388

BASIC CALCULATOR


how do i make the calculator work now

1 3212


Post New JavaScript Code Questions

Un-Answered Questions { JavaScript Code }

how to create a Custom Scrollbar

2060


sample code to auto focusing the first field in a form

2039


code to positioning of window in certain dimensions

1680


how to copy form data between different pages

1687


program to show a progress bar

2138






code to get the coordinates of a Click Event

1752


How to encode and decode URL strings?

1804


how to pass data between pages using Cookies

1866


How to block double clicks

1628


code to images to rollover

1873


code to create a new window

1760


how to transform XML Data into HTML

1914


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: