How Design Calc in Javascript? - Computers & Internet

Posted by on

• Level 1:

An expert who has achieved level 1.

Governor:

An expert whose answer got voted for 20 times.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

• Contributor

It's pretty easy. Copy & Paste the following code: ====================================

<FORM NAME="Calc"> <TABLE BORDER=4> <TR> <TD> <INPUT TYPE="text" NAME="Input" Size="16"> <br> </TD> </TR> <TR> <TD> <INPUT TYPE="button" NAME="one" VALUE=" 1 " OnClick="Calc.Input.value += '1'"> <INPUT TYPE="button" NAME="two" VALUE=" 2 " OnCLick="Calc.Input.value += '2'"> <INPUT TYPE="button" NAME="three" VALUE=" 3 " OnClick="Calc.Input.value += '3'"> <INPUT TYPE="button" NAME="plus" VALUE=" + " OnClick="Calc.Input.value += ' + '"> <br> <INPUT TYPE="button" NAME="four" VALUE=" 4 " OnClick="Calc.Input.value += '4'"> <INPUT TYPE="button" NAME="five" VALUE=" 5 " OnCLick="Calc.Input.value += '5'"> <INPUT TYPE="button" NAME="six" VALUE=" 6 " OnClick="Calc.Input.value += '6'"> <INPUT TYPE="button" NAME="minus" VALUE=" - " OnClick="Calc.Input.value += ' - '"> <br> <INPUT TYPE="button" NAME="seven" VALUE=" 7 " OnClick="Calc.Input.value += '7'"> <INPUT TYPE="button" NAME="eight" VALUE=" 8 " OnCLick="Calc.Input.value += '8'"> <INPUT TYPE="button" NAME="nine" VALUE=" 9 " OnClick="Calc.Input.value += '9'"> <INPUT TYPE="button" NAME="times" VALUE=" x " OnClick="Calc.Input.value += ' * '"> <br> <INPUT TYPE="button" NAME="clear" VALUE=" c " OnClick="Calc.Input.value = ''"> <INPUT TYPE="button" NAME="zero" VALUE=" 0 " OnClick="Calc.Input.value += '0'"> <INPUT TYPE="button" NAME="DoIt" VALUE=" = " OnClick="Calc.Input.value = eval(Calc.Input.value)"> <INPUT TYPE="button" NAME="div" VALUE=" / " OnClick="Calc.Input.value += ' / '"> <br> </TD> </TR> </TABLE> </FORM>

Posted on Jan 06, 2009

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
goodluck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

Related Questions:

What is the main learning part of web developer and design?

Web developing and design is a good profession. To learn basic design you mast be knowledge about basic html, html5, XHTML, CSS, css3, JavaScript, jquery, plugins, wordpress, theme customization.now a days theme development is so much demand able in word web development. W3school is the place where you can take basic knowledge. In the Upwork you can bit for a good job in this profession. In Singapore web design development is so much Singapore Web Design Development Company Singapore

Feb 28, 2016 | Computers & Internet

Which is the topic of Web design and development ?

Web development is a very good qualified job and web design is also good qualified job. Basic html, equerry, plugin, css, JavaScript, WordPress development and customization are the topic of this jobs. Buyer are contact on up-work and another site depend on bit then if developer will able to do this job then bit and buyer will accept him and hire for the job. Theme customization is so much dependable in now marketer .Singapore market is highly for web development. So if the quality will be gain in web development then it is the right place for a freelancing. Basic html5 css3 , JavaScript is the main theme.best of luck.Here is best web design singapore company.
Singapore Web Design Development Company Singapore

Feb 22, 2016 | Computers & Internet

Want miniproject using javascript & msaccess

Hi
I need the mini project in html & java script with back-end
Ms Access
Kindly help me

Dec 11, 2011 | ArcMedia JavaScript Source Code 3000 Pro...

Since yahoo changed my e-mail to the new e-mail page i have had problems, it either wont open the mail or wont send an e-mail especially if i have stopped using the mail while i look at something else. to...

If you are not ready for the new design.

1- If your browser is firefox do the following
2- Open TOOLS -> OPTIONS -> CONTENT, click on "DISABLE JAVASCRIPT".
5 - After that Enable the Javascript again. By going to Step 2

=================

1- If your browser is Internet Explorer do the following
2- Open TOOLS > INTERNET OPTIONS >> SECURITY. In security click "CUSTOM LEVEL" -> disable active scripting in the scripting section.
5 - After that Enable the Javascript again. By going to Step 2

===================

1 - If your browser is Safari
2 - Open SETTINGS>click PREFERENCES>>click SECURITY>>Uncheck ENABLE JAVA and ENABLE JAVASCRIPT
3 - press F5 or Reloard your browser screen
5 - After that Enable the Javascript again. By going to Step 2

Sep 02, 2011 | Yahoo Mail

How could get my old email back

Are you asking on how to get back your old email page/design? if yes

1- If your browser is firefox do the following
2- Open TOOLS -> OPTIONS -> CONTENT, click on "DISABLE JAVASCRIPT".
5 - After that Enable the Javascript again. By going to Step 2

=================

1- If your browser is Internet Explorer do the following
2- Open TOOLS > INTERNET OPTIONS >> SECURITY. In security click "CUSTOM LEVEL" -> disable active scripting in the scripting section.
5 - After that Enable the Javascript again. By going to Step 2

===================

1 - If your browser is Safari
2 - Open SETTINGS>click PREFERENCES>>click SECURITY>>Uncheck ENABLE JAVA and ENABLE JAVASCRIPT
3 - press F5 or Reloard your browser screen
5 - After that Enable the Javascript again. By going to Step 2

Sep 02, 2011 | Yahoo Mail

How can i make my website more attractive without using any flash files Please visit to my website and give me suggestions http://essayservices.co.uk

Use jquery (an advanced form of javascript) to make this animated banner instead of flash, because flash contents are not preferred today for better search engine optimization.

Jul 28, 2011 | Computers & Internet

Hello Sir..

Javascript.com and you will have to browse through a lot of entries to find the one that best suits your needs.

Regards,
Worldvet

May 26, 2008 | Adobe Photoshop 7.0 for PC

Flash action scripting 3

you should learn actionscript 3! :)
Actionscript is a object-oriented scripting language.
It is based on ECMAscript (Javascript), so if you know Javascript, it could be easier to understand and learn actionscript. But there are differences, that come with flash. Using scenes and time-lines to handle graphics is something specific of actionscript. on adobe website, there is a good library with information on how to use actionscript. Best is to learn it from a book.

Apr 23, 2008 | Macromedia Flash MX

Javascript

Dear peedamutu, javascript is a client side scripting language that works with browser. To learn it completely please read following tutorial

http://www.w3schools.com/js/default.asp

please press fixya if that hashelped you.

Dec 12, 2007 | Macromedia Dreamweaver MX 2004

Open Questions:

Related Topics:

34 people viewed this question

Level 3 Expert

Level 3 Expert