I need to set the value of a session with jquery. im thinking i need it to be done on server side but how do i do that with jquery? i got a link thats gone trigger the whole thing and my code so far is this.
<a href="#" id="showCart">Show Cart</a>
$('#showCart').click(function() {
$('#cartContainer').show();
//need to the set a session for the site to know if carts gone be visible
});
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…