store user prefrences in jQuery
<p>I have the following code for my ad system: </p>

<pre><code> function showandhide()
 {
    if ($('.showandhide').html() == 'show ads')
    {
       $('.showandhide').html("show ads");
       $('.ads').hide();
    }
    else 
    {
       $('.showandhide').html("hide ads");
       $('.ads').show();
    }
 }
</code></pre>

<p>The code is very simple. It hides and shows ads in my website. The problem is that it does not store the user preferences. How do I store them? Is there a fast way without using a database? I do not feel like creating a code to store information to my database just for hiding and showing ads. Is there any other fast solutions? maybe something in jQuery?</p>
