Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#14154 closed feature (plugin)


Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:


Why no?

code: $.urlParam = function(name){

return decodeURI((RegExp(name + '=' + '(.+?) (&|$)').exec(location.search)


Change History (4)

comment:1 Changed 10 years ago by Lucas Fogliarini

Why no?

$.urlParam = function(name){

return decodeURI((RegExp(name + '=' + '(.+?) (&|$)').exec(location.search)

comment:2 Changed 10 years ago by dmethvin

Resolution: plugin
Status: newclosed

Sure, write a plugin to do this if you want.

comment:3 Changed 10 years ago by anonymous

this function is very useful, why no add in native jquery api?

comment:4 Changed 10 years ago by scottgonzalez

I already told you when you filed the original ticket. Utility methods that aren't needed by jQuery itself won't be added.

Note: See TracTickets for help on using tickets.