how to retrieve the current state of the list as a JSON string, and a way to restore state from a JSON string
<ul>
<li>Create an html page that has a numbered list of items.</li>
<li>A user must be able to add an item to the list, and remove one or more items from the list.</li>
<li>There must be a way to retrieve the current state of the list as a JSON string, and a way to restore state from a JSON string.</li>
</ul>

<p>It should work in IE7-9, Firefox, and WebKit. Do not use any external libraries, with one exception: you can use JSON2 (http://www.json.org/json2.js) to handle JSON parse/stringify. You may not use inline event listeners. </p>

<p>I finished the above two parts and I am stuck on the third part I can show the code 
any help will be appreciated.</p>
