write an xhtml document that uses javascript code


Write an XHTML document that uses JavaScript code to do the following.  The user is first prompted for a word and then for a possible prefix for that word.  If the prefix is not an empty string, then  it outputs the word itself and the prefix in the form:

outside has the prefix "out"

If the input to the previous prompt  dialog is an empty string then it skips the previous output and the user is  prompted for a possible suffix for the first word.  It then outputs the word itself and the suffix in the form:

outside has the suffix "side"

as shown by the five snapshots of my browser window. A prefix and suffix can be one or more characters long.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: write an xhtml document that uses javascript code
Reference No:- TGS0206390

Expected delivery within 24 Hours