JQuery $.cookie (domain:) causing cookie not to set
<p>Hi the below code sets a Cookies based on a link ID clicked (that's the value), this works but what o need to do it set the domain, i have read how to do this by setting domain in the values, when i set the domin it will not set the cookie at all</p>

<p>Working:</p>

<pre><code>jQuery(document).ready(function(){
    $(".htabs a").click(function(e){
        $.cookie('siteVistedCookie', $(this).attr("id"), { expires: 7, path: '/'});
        });
    });
</code></pre>

<p>Not working</p>

<pre><code>jQuery(document).ready(function(){
    $(".htabs a").click(function(e){
        $.cookie('siteVistedCookie', $(this).attr("id"), { expires: 7, path: '/', domain: 'www.xample.com' });
        });
    });
</code></pre>
