js中cookie

document.cookie='address='+$("#address").val()+';path=/';

原文地址:https://www.cnblogs.com/xiamibk/p/4146486.html