<html>
<head><h1>HW 11 part 2</h1></head>
<body>
<h2>Write Phrase Here:</h2><br>
<script language="Javas cript">
loop = <input type='text' id='text1' value=''>;
while (repcount = 10);
{
document.write( "text1”);
}
<script language="Javas cript">
<input...
User Profile
Collapse
-
Employing various forms of while loops but with little success. Its an assignment for a computer class I have to take in college and I basically havent grasped anything in the course so farLeave a comment:
-
Benjamin Irelan started a topic How to create a textbox button that will repeat contents of textbox?in JavaHow to create a textbox button that will repeat contents of textbox?
I need to write an HTML page that uses an input text box to ask the viewer for a phrase. The page should also contain a button. When the button is pressed, the page should display the input phrase 10 times. The HTML page should use a JavaScript function to write out the phrase. (So if the user enters "Hello World", the page should display "Hello World" 10 times.)
No activity results to display
Show More
Leave a comment: