getAttribute Method

This sample will demonstrate how the getAttribute method can be used with persisting objects.

Enter a value in the INPUT field below and click the "Save and Leave" button. You will be taken to a blank page with an option to return. Upon return, click the "Load" button to restore the value in the INPUT field using the getAttribute method.

Enter some text:



© 1999 Microsoft Corporation. All rights reserved. Terms of use.