Write a xhtml document with java script, JAVA Programming

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.

Posted Date: 2/23/2013 4:38:01 AM | Location : United States







Related Discussions:- Write a xhtml document with java script, Assignment Help, Ask Question on Write a xhtml document with java script, Get Answer, Expert's Help, Write a xhtml document with java script Discussions

Write discussion on Write a xhtml document with java script
Your posts are moderated
Related Questions
1) Central museum is one of the famous tourist places in london. They ask comments from every customer visiting them.  For that, they maintained one register to store visitor;s com

Automated the claim sub-system: Insurance Domain:       CIA-MI   Type                                         Development - Web-based Application Role

Explain the term - Garbage Collection Java  performs  garbage  collection  and  eliminates  the  need  to  free  objects  explicitly.  When an object  has  no references   to

i m confused what to take as a project for final year in information tech cn u suggest some of the topic of software

Explain the Order of Evaluation of Logic Operators ? When Java sees a && operator or a ||, the expression on the left side of the operator is evaluated first. For instance, con

How to Begin a Variable Name with a Number? If you need to starts a variable name along with a digit, prefix the name you'd like to have (e.g. 8ball) along with an underscore,

Finding an Applet's Size When running inside a web browser the size of an applet is set through the height and width attributes and cannot be changed by the applet. Several app

AskWrite an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love

What interface must an object implement before it can be written to a stream as an object?      Ans) An object must execute the Serializable or Externalizable interface before i

The method should printout line numbers from 1 to howmany in the previous format -ONLY WHEN is divisble by 3 but is should not oupt more then 3 numbers on the line. input 1 outpu