save


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: save

  1. #1
    alex Guest

    save


    if you have a combobox and you have 4 items on the combobox.
    and If you make a selection and you want the selection to stay there when
    you comeback. How would you save this current selection? Basically, What
    I want is that when I exit this Frame where the combobox is, that when I
    returned back I will find the selection that I did previously.

  2. #2
    Tom Duffy Guest

    Re: save


    Store the selected index in the stop() method. Then check for the value in
    the start() method. This may not work in IE as I think it also runs init()
    on reload. You can check for a value in init() as well I suppose.

    HTH,

    Tom Duffy

    "alex" <cad1374@yahoo.com> wrote:
    >
    >if you have a combobox and you have 4 items on the combobox.
    >and If you make a selection and you want the selection to stay there when
    >you comeback. How would you save this current selection? Basically, What
    >I want is that when I exit this Frame where the combobox is, that when I
    >returned back I will find the selection that I did previously.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center