On Aug 22, 2009, at 3:13 PM, Audrey A Lee wrote: > > 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
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

