TEXT   289
parseParamsc function params
Guest on 29th November 2024 07:26:03 AM


  1. var parseParams = function(params) {
  2.     var p = $.param(params);
  3.  
  4.     if (p) {
  5.       return '?' + p;
  6.     } else {
  7.       return '';
  8.     }
  9.   };

Raw Paste

Login or Register to edit or fork this paste. It's free.