Select control related

Discussion in 'ASP General' started by abcd, Oct 7, 2005.

  1. abcd

    abcd Guest

    var oldLen = objListAppAnalysis.options.length;

    alert(oldLen);

    var i;
    for (i=0;i<oldLen;i++)
    {
    objListAppAnalysis.options.remove;
    }

    var newlen = objListAppAnalysis.options.length;

    alert(newlen)

    here why oldLen and newLen are the same.....why the remove not working
    here...am I messing up something...
     
    abcd, Oct 7, 2005
    #1
    1. Advertising

  2. Try a javascript group. This group is for server-side ASP topics.

    Ray at work

    "abcd" <> wrote in message
    news:...
    >
    > var oldLen = objListAppAnalysis.options.length;
    >
    > alert(oldLen);
    >
    > var i;
    > for (i=0;i<oldLen;i++)
    > {
    > objListAppAnalysis.options.remove;
    > }
    >
    > var newlen = objListAppAnalysis.options.length;
    >
    > alert(newlen)
    >
    > here why oldLen and newLen are the same.....why the remove not working
    > here...am I messing up something...
    >
    >
     
    Ray Costanzo [MVP], Oct 7, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RGFiYmxlcg==?=

    select gridview row without using select button?

    =?Utf-8?B?RGFiYmxlcg==?=, Mar 3, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    101,569
    dch31969
    Feb 27, 2009
  2. J. Hall
    Replies:
    2
    Views:
    1,090
    Jeff Thies
    Apr 21, 2004
  3. Maxwell Hammer
    Replies:
    7
    Views:
    654
    Peter Hansen
    Jun 18, 2005
  4. palmiere
    Replies:
    1
    Views:
    431
    Erwin Moller
    Feb 9, 2004
  5. Mel

    select with related action list

    Mel, Apr 6, 2007, in forum: Javascript
    Replies:
    9
    Views:
    89
    brunascle
    Apr 7, 2007
Loading...

Share This Page