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
write a java program to test for class Person Student faculty Employee

I have to weave two positive integers together. For example, if the numbers are 137 and 064, the output integer would be 103647. This has to be done using integer arithmetic (not s

What are the different messaging paradigms JMS supports? Ans) Publish and Subscribe i.e. pub/suc and Point to Point i.e. p2p.

You are a newly recruited programmer, working for an IT company. This company won a contract to develop a Customer Relationship Management System (CRM) for a major retailer. The CR

A Scrollbar is a Component while Scroll Panel is a Container. A Scroll Panel handles its own events and performs its own scrolling.

Ask question #MBookshelves A library decides buy bookshelves to store its books and they need to determine the bookshelves’ heights and widths in order to minimize storage costs. T

Specifications 1. readNumberOfEntries → This function will ask the user for a value greater than or equal to two. The function will keep asking values as long as the user prov

Need to develop a Small Android App using Text to speech and Speech to Text feature. Project Description: When the Android App Opens, It will connect to Windows Azure cloud,

In Exercise 1 you were asked to modify the Sorts program so that it would output the number of swaps used by a sorting method. It is a little more difficult to have the program als

These applications are like any Java application. They are made up of not many classes, each performing a particular purpose within the application. But these classes are configure