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 use of join in Java Threading

Question 1 Describe the browser components and its features Question 2 Define in detail the building of webpage Question 3 How to use forms? Describe with an example

i m working on an accounting software and need the java code for preparing trial balance report

The LookupDispatchAction is a subclass of DispatchAction. It does a reverse lookup on the resource package to get the key and then gets the method whose name is associated with the

Is it possible to create any dialog window in Oracle in Java stored procedure?

Explain continue statement with example? It is sometimes essential to exit from the middle of a loop. Sometimes you'll need to begin over at the top of the loop. Sometimes you'

Normal 0 false false false EN-US X-NONE X-NONE

The design of the website will be left to the individual student. The website must be written only in xml, displayed in xhtml using transforms and xsl for styling elements. Javascr

program to find the frequency of a digit in a number

This assignment is a good project for working with 2 dimensional arrays. In this program, you will implement an ascii version of the classic game "Connect 4". Connect 4 is a 2 p