jQuery: The Write Less, Do More JavaScript Library

jQuery query string implementation

View: New views
4 Messages — Rating Filter:   Alert me  

jQuery query string implementation

by Matt Gardner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John and crew, was curious for your opinion related to storing query string variables in an array (and perhaps expanding to capture key/value pairs beyond the # as well). Something worthwhile to have in the core? 

http://stackoverflow.com/questions/439463/how-to-get-get-and-post-variables-with-jquery/453688#453688

-- Matt

Re: jQuery query string implementation

by jQuery Lover-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Agree, that would be something useful... but it's better to have it as
a plugin, since you don't need it for the most of the time...

----
Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com



On Thu, Feb 5, 2009 at 7:44 PM, Matt Gardner <logic@...> wrote:
> John and crew, was curious for your opinion related to storing query string
> variables in an array (and perhaps expanding to capture key/value pairs
> beyond the # as well). Something worthwhile to have in the core?
> http://stackoverflow.com/questions/439463/how-to-get-get-and-post-variables-with-jquery/453688#453688
>
> -- Matt

Re: jQuery query string implementation

by mkmanning :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


FYI I just uploaded a plugin (http://plugins.jquery.com/project/
parseQuery) that's pretty small (449 bytes minified); it parses the
querystring into an object.

On Feb 5, 6:53 am, jQuery Lover <ilovejqu...@...> wrote:

> Agree, that would be something useful... but it's better to have it as
> a plugin, since you don't need it for the most of the time...
>
> ----
> Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com
>
> On Thu, Feb 5, 2009 at 7:44 PM, Matt Gardner <lo...@...> wrote:
> > John and crew, was curious for your opinion related to storing query string
> > variables in an array (and perhaps expanding to capture key/value pairs
> > beyond the # as well). Something worthwhile to have in the core?
> >http://stackoverflow.com/questions/439463/how-to-get-get-and-post-var...
>
> > -- Matt

Re: jQuery query string implementation

by jQuery Lover-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Nice work...

----
Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com



On Sat, Feb 7, 2009 at 7:17 AM, mkmanning <michaellise@...> wrote:

>
> FYI I just uploaded a plugin (http://plugins.jquery.com/project/
> parseQuery) that's pretty small (449 bytes minified); it parses the
> querystring into an object.
>
> On Feb 5, 6:53 am, jQuery Lover <ilovejqu...@...> wrote:
>> Agree, that would be something useful... but it's better to have it as
>> a plugin, since you don't need it for the most of the time...
>>
>> ----
>> Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com
>>
>> On Thu, Feb 5, 2009 at 7:44 PM, Matt Gardner <lo...@...> wrote:
>> > John and crew, was curious for your opinion related to storing query string
>> > variables in an array (and perhaps expanding to capture key/value pairs
>> > beyond the # as well). Something worthwhile to have in the core?
>> >http://stackoverflow.com/questions/439463/how-to-get-get-and-post-var...
>>
>> > -- Matt
>