SHOW:
|
|
- or go back to the newest paste.
1 | $(function() { | |
2 | $('.productTag').click(function() { | |
3 | $.ajax({ | |
4 | url: 'products/assortiment/filter?title=' + $(this).text() | |
5 | }).complete(function() { | |
6 | - | $('div#productList).html(data); |
6 | + | $('div#productList').html(data); |
7 | }).fail(function(jqXHR, textStatus) { | |
8 | alert( "Request failed: " + textStatus ); | |
9 | }); | |
10 | }); | |
11 | }); |