×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Javascript
Posted by: Gary Peach
Added: Jan 20, 2016 6:40 AM
Modified: Feb 5, 2016 4:56 PM
Views: 11
  1.         function appendQueryParams(params){
  2.             return '?' + $.param( params );
  3.         };
  4.        
  5.         var new_url = appendQueryParams(query);
  6.         console.log(new_url);