jQuery changing the value of a hidden field
<pre><code>function areaMe(area){
        var barea = $('#barea').val();
        if(barea.indexOf(area)!=-1){
         barea=barea.replace(area, ""); // remove
        }else{
         barea+=area; // inlcui
        }
        $('#barea').val(barea);
       }
</code></pre>

<p>It doesn't work if the #barea input is hidden...</p>
