Cookie in show/hide toggle div
My script:
function ShowHide(){
$("#news1").animate({"height": "toggle"}, { duration: 250 });
}
Question:
How can I insert a cookie to this, so that when I hide it, it will remain hidden after refreshing the page.
Appreciate...