0 Replies Latest reply on Jun 17, 2010 6:57 PM by verseview

    Clearing the elements of a select list

    verseview

      I have an app working with Air 1.5. Recently, I upgraded to the 2.0.2 SDK and an intersting popped up.

       

      I am using the following statement in Javascript to clear the select list.

      document.getElementById('LongList').options.length = 0;

       

      However, the elements does not clear when using 2.0.2 SDK. It works well with 1.5 SDK.

       

      Any thoughts on it?

       

      Thanks

      Binu

      Google "VerseVIEW"