Determining the Size of the List
<HTML>
<HEAD>
<SCRIPT LANGUAGE = "JavaScript">
function moveon() {
var urlAddress = "";
urlAddress = document.forms[0].Edit1.value;
parent.frames[1].location = urlAddress;
document.forms[0].Edit2.value = parent.frames[1].history.length;
}
</SCRIPT>
</HEAD>
<BODY>
<FORM>
<INPUT type="text" name="Edit1">
<INPUT type="button" value="move" onClick="moveon()">
<INPUT type="text" name="Edit2">
</FORM>
</BODY>
</HTML>
Related examples in the same category