Hi Benjamin
The deserialize plugin does not handle what you want (I wrote it) :-(
You need to parse and split the string directly. Here's a way to do it - not
tested, but should work:
function parseParams(url) {
var params=url;
if (url.match(/\?(.+)$/)) {
// in case it is a full query string with ?, only take everything
after the ?
params = RegExp.$1;
}
// split the params
var pArray = params.split("&");
// hash to store result
var pHash = {};
// parse each param in the array and put it in the hash
for(var i=0;i<pArray.length;i++) {
var temp = pArray[i].split("=");
pHash[temp[0]] = unescape(temp[1]);
}
return pHash;
On 7/11/07, ricardoe <[EMAIL PROTECTED]> wrote:
Hi Benjamin, I dont know if this is useful but is something about
UNserialize (serialize is, in jquery, the opposite for what you want
to do :) )
http://www.reach1to1.com/sandbox/jquery/testform.html
Saludos from México
--
Reach1to1 Technologies
http://www.reach1to1.com
http://on2.biz
[EMAIL PROTECTED]