Last change
on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 days ago |
Upload project files
|
-
Property mode
set to
100644
|
File size:
508 bytes
|
Rev | Line | |
---|
[e3d4e0a] | 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.