Web design program

Web design program

View Answers

September 24, 2009 at 4:40 PM

Hi Friend,

Try the code:

<html>
<script>


function add(){
var num1=document.form.text1.value;
var num2=document.form.text2.value;
var sum=Number(num1)+Number(num2);
document.write("Sum of two numbers is: "+sum);
}
function divide(){
var num1=document.form.text1.value;
var num2=document.form.text2.value;
var sum=Number(num1)/Number(num2);
document.write("Result is: "+sum);
}
function product(){
var num1=document.form.text1.value;
var num2=document.form.text2.value;
var sum=Number(num1)*Number(num2);
document.write("Product is: "+sum);
}
function modulus(){
var num1=document.form.text1.value;
var num2=document.form.text2.value;
var sum=Number(num1)%Number(num2);
document.write("Modulus is: "+sum);
}
</script>
<form name="form">
<table>
<tr><td>Enter First Number:</td><td><input type="text" name="text1"></td></tr>
<tr><td>Enter Second Number:</td><td><input type="text" name="text2"></td></tr>
<tr><td><input type="button" value="Add" onclick="add();"></td><td><input type="button" value="Divide"onclick="divide();"></td></tr>
<tr><td><input type="button" value="Square" onclick="product();"></td><td><input type="button" value="Modulus" onclick="modulus();"></td></tr>
</table>
</html>

Thanks









Related Tutorials/Questions & Answers:
Web design program - WebSevices
Web design program  Design an HTML page to create the standard calculator. When user will click on the button, display the caption of selected button in new document
Web design program - WebSevices
Web design program  Design an HTML page to accept Name (text box), Address (multiline textbox), Gender (radio button), Qualification (single selection), Specialisation (multiple selection), Languages (checkbox), Submit
Advertisements
Web design program - WebSevices
Web design program  Design an HTML page to accept information of the employee (important 5 details). Use appropriate controls. Give title â... controls using horizontal line. Design the web page with relevant background image
Web design program - WebSevices
Web design program  Create the .css file. Write different styles for table cell to assign background colour. Incorporate the style in .html file. Create a table of 4 rows, 2 columns in the .html file. Using style, change
Web design program - WebSevices
Web design program  Accept any two numbers using text box. Provide four buttons Add, Divide, Square, and Modulus (remainder of division). On clicking corresponding button, display the relevant result in new window.  
Web design program - WebSevices
Web design program  Provide two links. Display an image in new document on clicking corresponding link. The image displayed using second link should have 3 links to open 3 different files. Note : Each image should have border
Web design program - WebSevices
Web design program  Create a dynamic page using CSS as follows. a) The text displayed using should have background color â??Brownâ?? and text color â??whiteâ??, font â?? Arial. (2 marks) b) The paragraph can be displayed
Summer Internship Program for Web Development and Web Design
Summer Internship Program for Web Development and Web Design - Rose India... about our summer internship program in web development and design? Just feel... looking to enroll in an internship program for web  development and web
web design
web design   Hii.. I have to design one registration page in java... SUGGESTIONs (here i have to design captcha) submit (while clicking... how could i design that. Please help me asap Thanks a lotADS_TO_REPLACE_2
WEB Design
WEB Design  Write a program to open the link in first frame in another frame?   Please visit the following link: Webservices Tutorials
Web Design Training
Web Design Training  Hi, How to learn Web Design? What is the best courses in Web Design Training? Thanks   Hi, These days websites... design in PSD format, maintaining the websites etc. As a web designer you should
web design - Design concepts & design patterns
web design  hello sir. my quesstion is same please guide me. please reply my question .because it very urgrent. I want make header like-http://www.sigmainfotech.com.au/ this site but in this site header make in flash, I
Solve Program - Design concepts & design patterns
Solve Program  54321 4321 321 21 1  use this block of code in your program for(int i =5 ; i>=1 ; i--){ for(int j=i...(); } Rajanikant  Hi Friend, Code to display the design Series
web-design - JSP-Servlet
web-design  hi, i wanted to know what is web design.. is it the servlet that we write producing the output on the web page????????  Hi... out = res.getWriter(); String title = "Searching the Web"; String heading
web design - WebSevices
web design  I want to use macromedia Dreamweaver for designing the web pages for my j2ee web application, But i do not know how to use Dreamweaver so please help me. Thanks
web design - WebSevices
web design  I want to use macromedia Dreamweaver for designing the web pages for my j2ee web application, But i do not know how to use Dreamweaver so please help me. Thanks
web page design
web page design  Great Applianz Ltd. was established in 1985, in New... to develop a Web application for Great Applianz Ltd. that incorporates the preceding... the Internet. In order to develop the Web application, Smith needs to analyze
what is php used for in web design
what is php used for in web design  what is php used for in web design
web designing - Design concepts & design patterns
web designing  Hello sir, I want to make a Photo rotetor in my website project. Sony.com and Dell.com , these are the websites that have the photo rotetor in their main web page. please see these webs and send me the code
how to design control panel for web applications
how to design control panel for web applications  how to design control panel for web applications
The Characteristics and Design of Web 2.0
The Characteristics and Design of Web 2.0   ... affiliates program has also been used Web 2.0 technologies. Latest Mechanical Turk..._TO_REPLACE_6 Web 2.0 Templates are different in design and pattern from
Web design company in Delhi
Web design company in Delhi We are professional web design and development... design premium templates for your online website and web portals...; Cafe and Restaurant We design website and web applications
Write a program to design a page.use radio button?
Write a program to design a page.use radio button?  i would lik to know about well designed page   In the given code, we have used swing components to create a form on frame. import java.sql.*; import javax.swing.
java web program
java web program   A stateLess Session Bean program has... program to create table customer , insert values into the table customer and display customer details. please send the program as soon as posbile
Professional Web Design Services For You Web Site
Professional Web Design Services For You Web Site  ... affect the entire design of the web site.... However there are also some guidelines to the use of graphics on the web
Web Page design and Development Company
Web Page design and Development Company We are web page designing... the world. Web page design and development is an art and skilled developers can create... complete web page design and development solution. Our company is expert
What are Web Design Services
What are Web Design Services The term web design looks simple that refers to arranging contents... of the customer. A perfect web design service not only enhance the traffic
Chapter 2. Design, build and test web components
Chapter 2. Design, build and test web... Servlet filters are pluggable Web components that allow us to implement pre-processing and post-processing logic in our Web applications. Filters support
10 Common Web Design Mistakes
10 Common Web Design Mistakes Designing a website is the most crucial part... of business deliverables and outcomes. Web design is no more of just ornamental... discussion on top 10 common web design mistakes we must understand the effectiveness
Top 10 Web Design Tools
of people accessing the web on their handheld device, web design is no more... across the devices. The task of choosing top 10 web design tools is no longer... on handheld devices. In choosing the best web design tools we have nevertheless
Top 10 Web Design Mistakes
Blaming the web design mistakes is a common behavior when a website faces... aspects is lost. There are many philosophies on classifying the web design mistakes... design mistakes nothing is as severe as presenting the content in back foot. Web
Web Design Packages, Website Design Packages
an extensive range of web design solutions for all, from individuals to corporate...: HTML Basic Web Design Packages HTML Basic + Web Design Packages HTML Silver Web Design Packages
Top 10 Web Design Trends
Top 10 Web Design Trends Website design is no more is just about looks... web design trends tend to evolve with change in technology and user interface... and appreciation, there have been different philosophies of web design that continued
Design a web page using XHTML and JavaScript that does the followings:
Design a web page using XHTML and JavaScript that does the followings:  Design a web page using XHTML and JavaScript that does the followings: 1- Contains several frames (as needed) 2- A frame for viewing the utilities of your
What is Flash Design
interactivity to the web design and also they cost fewer amounts...; Flash templates will add new aspects to your web design endeavor... What is Flash Design Adobe
Chapter 2. Design, build and test web components
Chapter 2. Design, build and test web...; Chapter 2. Design, build and test web components Design, develop and test Java Servlets, filters and listeners
Web Design Portfolio
Web Design Portfolio The Roseindia?s Web Designer develops Website... of the web design meets the web standard parameters. Followings are the guidelines that we follow while web design are: Usability Consistency Simplicity
Top 10 Web Design Principles to Follow
Top 10 Web Design Principles to Follow Usefulness, utility and responsiveness... the effectiveness of your web presence. Web design principles mainly focus on how you can better create an interactive space for your audience or users. Web design trends
Blocking a web site using java program
Blocking a web site using java program  How to block a url typed in browser using java program
Animated Web Design
Animated Web Design Animation needs the higher skill of work and experience, and animation on web not only need the art but also need the technical skills... Web page design optimization Graphic design Presentations
Web Design Packages, Website Design Packages
Shopping cart web design Graphics/ Flash / Animation based website design... custom business web design solutions... Custom Website Design for Business Custom Website Design has become one
Web 3.0 Design
Web 3.0 Design       Web 3.0 Design: REST, AJAX, Silverlight, Widget Enabled, Taggable, Searchable everything?  RSS. A Web 3.0 Driver In the coming ten
Web Design Packages, Website Design Packages
Why Custom Website Designing? The Custom Web Designing means the designing... different. Thus to design and to develop the site according to general... website design? The answer is simple. A custom website design reflects the image
Custom Website Design,Custom Web Designing,Custom Website Designing
Custom Website Design Custom Website Design Custom website designs means.... Why Custom Website Designing? The Custom Web Designing means the designing... popularity because of its global presence. Custom Website Design
Web Development Services,Web Design Development Services,Website Developement Services India
Web Development Services RoseIndia.net is a specialize software firms.../server platform as well as web domain. First of all we do study and understand... information system to fulfill the requirements and design desired by the customer
What is Tableless Website Design
What is Tableless Website Design The term web design refers to fine art... of the methods of designing is known as tableless web design. The tableless design... in manners that improve the accessibility of the web. Besides, tableless design
java design
java design  What is design by contract
Design pattern
Design pattern  explain factory pattern
program
program  Write a JSP Program, which displays a web page containing the name of the Courses, Courses being offered currently, number of students enrolled in each course, new courses to be offered, eligibility criteria for taking
program
program  Write a JSP Program, which displays a web page containing two web links one for your profiling and other for the schedule of theory of practical classes of your Batch. When one click on link for getting your profile

Ads