SHARE
TWEET

Untitled

a guest Oct 22nd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.           $(document).on('change', '#product_cat', function () {
  3.               var trimmed = $('#product_cat option').filter(':selected').text().trim();
  4.               $('#product_cat option').filter(':selected').text(trimmed);
  5.           });
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
 
Top