source: Cart.js@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 6 days ago

Upload new project files

  • Property mode set to 100644
File size: 508 bytes
Line 
1$(document).ready(function(){
2
3 $('.radio-group .radio').click(function(){
4 $('.radio').addClass('gray');
5 $(this).removeClass('gray');
6 });
7
8 $('.plus-minus .plus').click(function(){
9 var count = $(this).parent().prev().text();
10 $(this).parent().prev().html(Number(count) + 1);
11 });
12
13 $('.plus-minus .minus').click(function(){
14 var count = $(this).parent().prev().text();
15 $(this).parent().prev().html(Number(count) - 1);
16 });
17
18 });
Note: See TracBrowser for help on using the repository browser.