How to restore Textbox Data
<p>I have a small requirement,  </p>

<p>We have restore the textbox data that was cleared previously.<br>
Below is my HTMl code  </p>

<pre><code>&lt;table&gt;
   &lt;tr&gt;&lt;td&gt;&lt;input type="textbox"&gt;&lt;/td&gt;&lt;/tr&gt;
   &lt;tr&gt;&lt;td&gt;&lt;input type="checkbox"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>Here is my JQuery Code  </p>

<pre><code>       $('TABLE TR TD').find(':checkbox').change(function()
        {
            if($(this).prop('checked'))
            {
               $(this).parents('TR').siblings('TR').find('input').val("")
            }
            if(!$(this).prop('checked'))
            {
               $(this).parents('TR').siblings('TR').find('input').val(?)
            }
        });
</code></pre>

<p>My Requirement is to clear the textbox content if checkbox is checked. And if i deselect it the textbox should be restored with previous data.  </p>

<p>Please someone help me.</p>
