<HTML> <HEAD> <TITLE>Elements Array</TITLE> <SCRIPT LANGUAGE="JavaScript"> function prompt(msg) { window.status = "Please enter your " + msg + "." } </SCRIPT> </HEAD> <BODY> <FORM> Enter your first name:<INPUT TYPE="text" NAME="firstName" onFocus="prompt('first name')"><P> Enter your last name:<INPUT TYPE="text" NAME="lastName" onFocus="prompt('last name')"><P> Enter your address:<INPUT TYPE="text" NAME="address" onFocus="prompt('address')"><P> Enter your city:<INPUT TYPE="text" NAME="city" onFocus="prompt('city')"><P> </FORM> </BODY> </HTML>
Related Scripts with Example Source Code in same category :