Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $('.productTag').click(function() {
- $.ajax({
- url: 'assortiment/filter?title=' + $(this).text()
- }).complete(function(data) {
- console.log(data);
- $('div#productList').html(data);
- }).fail(function(jqXHR, textStatus) {
- alert( "Request failed: " + textStatus );
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement