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 6688i 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 4737Post New JavaScript Code Questions
code to set the main window's size
how to transform XML Data into HTML
How to encode and decode URL strings?
advance the focus to next consecutive fields when Enter Key is pressed
communication between main window and new windows
how to get the User's Time of Day
how to create Expandable and Collapsible Menus
code to keep a page Out of the browser history
how to Scroll a DIV content
program to show a progress bar
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc
code to detect availability of cookies
write a code that user can choose/alter Body Text Size
code to create a new window
write a code to generate pseudorandom numbes