Create an embedded javascript function, JAVA Programming

Given the following XHTML page:

 

Create an embedded JavaScript function named getUserInfo that prompts the user with the following two questions after the XHTML page has loaded:

  • What is your full name?
  • How old are you?

The function should then build a string in the form of:

Hi, my name is FULL-NAME and I'm XX years old.

The string must then be inserted into the container div with id: content.

Note that your XHTML page must validate as 1.0 Strict - as such, make any needed additions to the XHTML code above.

Posted Date: 3/18/2013 2:50:48 AM | Location : United States







Related Discussions:- Create an embedded javascript function, Assignment Help, Ask Question on Create an embedded javascript function, Get Answer, Expert's Help, Create an embedded javascript function Discussions

Write discussion on Create an embedded javascript function
Your posts are moderated
Related Questions
What is Runnable JAR archives You can run a program stored within the JAR archive that has a main() method like this: $ java -cp eharold.jar MainClassName You must use the f

how to give dataset to a decision tree which is written by java using weka software?

Sudoku Class (Simple Version) The Sudoku class will encapsulate the minimum necessary data and logic to manipulate, print, and set the SudCells , in anticipation of a high

iam trying to build an application that store information like name mobile age in a file its like a registration form everytime i enter a new person data i want the applicaion mak

Design A Word document/ report containing program design documentation, including UML diagrams (Use case, class and sequence) and written descriptions of each class or module

To simplify complex class diagrams you may group classes into packages.

Jakarta Struts is open source execution of MVC (Model-View-Controller) pattern for the development of web based applications. Jakarta Struts is robust architecture and can be used

You will be required to create an ADT for a Binary Search Tree (BSTInterface.java). The interface will be implemented as a Binary Search Tree (BST) using a reference based format.

Explain the Execute phase of Java Program Development Finally in phase computer, under the control of its CPU, interprets program one bytecode at a time. Hence performing

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that