SHARE
TWEET

Untitled

a guest Nov 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('.selectPrductSort1').click(function()
  2.             {
  3.                 var requestSortProducts = '{$request}';
  4.                 var splitData = $(this).val().split(':');
  5.                     document.location.href = requestSortProducts + ((requestSortProducts.indexOf('?') < 0) ? '?' : '&') + 'orderby=' + splitData[0] + '&orderway=' + splitData[1];
  6.             });
  7. $('.selectPrductSort').click(function()
  8.             {
  9.                 var requestSortProducts = '{$request}';
  10.                 var splitData = $(this).val().split(':');
  11.                     document.location.href = requestSortProducts + ((requestSortProducts.indexOf('?') < 0) ? '?' : '&') + 'orderby=' + splitData[0] + '&orderway=' + splitData[1];
  12.             });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top