Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#clear").click(function(){ //очистка
- newprice = 0;
- newcount = 0;
- id = 0;
- window.localStorage[keyprice] = newprice;
- window.localStorage[keyid] = id;
- window.localStorage[keycount] = newcount;
- $('#cart span#price').html(newprice+' руб. ').attr("price",newprice);
- $('#cart span.count').html(newcount);
- })
Add Comment
Please, Sign In to add comment