search for: toqueryparams

Displaying 5 results from an estimated 5 matches for "toqueryparams".

2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object. Just wanted to check with you guys if this is the correct explanation of toQueryParams(). If yes, then I''ll add it to the documentation as well. Works for me (but I am not sure if it''s the correct way to use it). /* String.prototype.toQueryParams takes a query string, i.e, string with name value pairs separated with ''&'', splits them up...
2007 Apr 17
5
Problem with toQueryParams()
I''m sure this has been covered before, but here goes... Anybody noticing some odd behavior with submitting forms through Ajax.Request? I thought at first it was a problem with Form.serialize, but was able to trace it back to line #975 (in prototype 1.5.1_rc2) which calls "toQueryParams" on the parameters that are passed into the new Ajax object if it is a string. This is the code (line #975 is the second line): if (typeof this.options.parameters == ''string'') this.options.parameters = this.options.parameters.toQueryParams(); A quick example could be seen...
2007 Jun 15
1
prototype: problem w/ toQueryParams() in version 1.5.1
Hello All, I can''t seem to get toQueryParams() to function in version 1.5.1. Doesn''t seem to be creating a Hash. The following produces no results. I understood there were some issues w/ this in earlier versions, but that they had been resolved in 1.5+. Can someone help me? Thanks! --john var webParams = ''section=blog...
2007 Apr 20
2
Double URL Encoding of multiple selects (or any array in toQueryParams)
Hello, It seems that if you call form.serialize on a multiple select, and it double url encodes the values... culprit seems to be (v.1.5.0) line 649/650. It calls encodeURIComponent twice. -jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send
2006 Apr 28
3
Serialize / deserialize an associative array
Perhaps I missed something but I don''t see an easy way to do this ? Basically just wanna hold some ui state in a cookie. Did I miss something obvious ? Best Matt *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorized and