Determining the Size of the List : List « Form Control « JavaScript DHTML

Home
JavaScript DHTML
1.Ajax Layer
2.Data Type
3.Date Time
4.Development
5.Document
6.Dojo toolkit
7.Event
8.Event onMethod
9.Ext JS
10.Form Control
11.GUI Components
12.HTML
13.Javascript Collections
14.Javascript Objects
15.Javascript Properties
16.jQuery
17.Language Basics
18.Mochkit
19.Mootools
20.Node Operation
21.Object Oriented
22.Page Components
23.Rico
24.Scriptaculous
25.Security
26.SmartClient
27.Style Layout
28.Table
29.Utilities
30.Window Browser
31.YUI Library
JavaScript DHTML » Form Control » List 
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
1.Determining the Value or Text of the Selected Option
2.Determining the Values of Multiselection Lists
3.Selection List Event Handling
4.Cycling through a Multiple-Selection List
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.