1 <HTML> 2 <HEAD> 3 <TITLE>JavaScript Example: History properties</TITLE> 4 </HEAD> 5 <BODY BGCOLOR="#FFFBEC"> 6 7 Properties of the <B><TT>history</TT></B> object:<P> 8 9 <SCRIPT LANGUAGE="JavaScript"> 10 11 for ( var prop in history ) { 12 with ( history ) { 13 document.write(prop + " = "); 14 document.writeln(eval(prop), "<BR>"); 15 } 16 } 17 18 </SCRIPT> 19 20 </BODY> 21 </HTML>