DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
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.



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links