Chris W. Parker schrieb:
> On Tuesday, October 31, 2006 10:46 AM Luke Lutman <> said:
>
>   
>> Have a look at this recent thread :-)
>>
>>     
> http://www.nabble.com/method-plugin-for-getting-query-string-vars--tf248
> 1232.html#a6919130
>
> I read through this and tried to implement your first suggestion but I
> notice that everything takes location.search and parses that. I want to
> use it in the following way:
>
> theHref = $(this).attr("href").query();
>   
You could extend the String prototype, eg:
String.prototype.query = function() {
  // parse query and return something
}

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to