Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.selectPrductSort1').click(function()
- {
- var requestSortProducts = '{$request}';
- var splitData = $(this).val().split(':');
- document.location.href = requestSortProducts + ((requestSortProducts.indexOf('?') < 0) ? '?' : '&') + 'orderby=' + splitData[0] + '&orderway=' + splitData[1];
- });
- $('.selectPrductSort').click(function()
- {
- var requestSortProducts = '{$request}';
- var splitData = $(this).val().split(':');
- document.location.href = requestSortProducts + ((requestSortProducts.indexOf('?') < 0) ? '?' : '&') + 'orderby=' + splitData[0] + '&orderway=' + splitData[1];
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement