Welcome![Sign In][Sign Up]
Location:
Search - SpecialCalculator javascript

Search list

[WEB Code特殊高级计算器

Description: 第一步:把如下代码加入<body>区域中 <SCRIPT LANGUAGE="java-script"> <!-- Begin function doit() { form.input.value = eval(form.input.value) } function Cos() { x = form.input.value if (x == ) alert( Error: Input Required ) else form.input.value = Math.cos(x) } function Sin() { x = form.input.value if (x == ) alert( Error: Input Required ) else form.input.value = Math.sin(x) } function Ln() { x = form.input.value if (x == ) alert( Error: Input Required ) -first step : put the following code to join lt; Bodygt; Region lt; SCRIPT LANGUAGE = "java-script" gt; Lt; !-- Begin function doit () (form.input.value = eval (form.input.value)) Cos function () (x = form.input.value if (x ==) alert (Error : Input Required) = else form.input.value Math.cos (x)) function Sin () (x = form.input. value if (x ==) alert (Error : Input Required) = else form.input.value Math.sin (x)) function Ln () (x = form.input.value if (x ==) alert (Error : Input Required)
Platform: | Size: 5120 | Author: pete | Hits:

CodeBus www.codebus.net