javascript new Option does not work with IE7 Beta2

Discussion in 'Internet Explorer' started by David W. Rasmussen, Feb 11, 2006.

  1. It appears that the following javascript no longer works with IE7?!?

    Form1.ListBox1.options[Form1.ListBox1.length] = new Option('My Text',
    'Value');

    Is there another way to add list items client side?

    Thanks,
     
    David W. Rasmussen, Feb 11, 2006
    #1
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.