Create a javascript program read a message string


Discussion:

Q: Create a JavaScript program that will read a message string and a number from text boxes on a Web page. The program will then use those values to display some information to the user.

Use the JavaScript DHTML Playground to write JavaScript code that performs the following tasks:

- Read a message string from a text box ("Input 1").

- Read a number from a second text box ("Input 2").

- Display, in the page footer, the message string from "Input 1". Repeat the string the number of times your program read from "Input 2". Note:

Convert the value from "Input 2" into an integer by using the parseInt() function.

 

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Create a javascript program read a message string
Reference No:- TGS01938189

Now Priced at $25 (50% Discount)

Recommended (97%)

Rated (4.9/5)