[jQuery] detecting a cookie based on another domain

[jQuery] detecting a cookie based on another domain


Using Klaus' cookie plugin, could anyone tell me how to check for the
existence of a cookie that's been set by another site?
Here's where I'm at at the moment:
if ($.cookie('my_cookie', {path: '/', domain:
'alternate.domain.com' })) {
$('#loginOut a').attr({"href": "http://alternate.domain.com/
logout.aspx"}).text("Logout");
};
My problem is that this is setting a cookie for me at my own domain.
Thanks
Steve