Rails params-hash. jQuery have this?

Hello,

Rails has a hash named “params” which contains information from my
current URL.

Does jQuery have something like params?

Related question:

What is the jQuery-way of getting data out of the current URL?

-Audrey

On Aug 22, 2009, at 3:13 PM, Audrey A Lee wrote:

What is the jQuery-way of getting data out of the current URL?

-Audrey

The querystring is stuffed into the params hash by rails. So
http://my/fine/url?something=anything

shows up in your controller as:

params
=> {‘something’ => ‘anything’}

Your second question is not clear to me. What data is in the current
URL?

BTW: The jQuery Google Group is very helpful for getting jQuery-
specific questions answered.