1、JS function cookie(){ var uname = $.cookie().cherry_uu_2357 $("#user").html(uname) } cookie() 2、html <div id="user">