English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories






Radius:





See I want to have the circumference print out on the same page, but instead when this code is executed it places the text on a new page/window. Please HELP!

2006-06-10 17:47:23 · 3 answers · asked by cdf22728 3 in Computers & Internet Programming & Design

3 answers

Yet another way of doing the same thing






Radius:





2006-06-11 03:03:53 · answer #1 · answered by AnalProgrammer 7 · 2 1







2006-06-11 01:36:09 · answer #2 · answered by man_at_the_third_row 2 · 0 0

Change your input type from type="submit" to type="button"

And to print it on the document, change you onclick to:
onclick = "document.getElementById('msg').innerHTML = (circum(radius.value))"

And put this tag after your form:

2006-06-11 01:01:19 · answer #3 · answered by Behrooz 2 · 0 0

fedest.com, questions and answers