Answer to Question #213352 in HTML/JavaScript Web Application for faszna

Question #213352

Consider the following HTML page:

<html><head></head>

<body>

<form id="form1" name="form1" method="post" action="">

Enter a value

<label for ="txtString"></label>

<input type="text" name="txtString" id="txtString"/>

<input type="submit" name="button" id="button" value="Submit"/>

</form></body></html>


Assume that the page accept a string .Write a JavaScript function called printString() to to display every other word in a new line.the output will be displayed as an alert.

input: Hickory dickory dock.the mouse went up the clock.

output:

Hickory

dock.

mouse

up

clock


1
Expert's answer
2021-07-05T18:06:33-0400
Dear faszna, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS