[jQuery] Re: serialize string

2007-07-12 Thread Benjamin Sterling
Thanks alot, that is more or less what I came up with. Much appreciated. On 7/12/07, ashutosh bijoor <[EMAIL PROTECTED]> wrote: 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

[jQuery] Re: serialize string

2007-07-12 Thread ashutosh bijoor
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 que

[jQuery] Re: serialize string

2007-07-11 Thread ricardoe
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

[jQuery] Re: serialize string

2007-07-11 Thread Jörn Zaefferer
Benjamin Sterling wrote: Richard, Thanks, that is what I did, just created a function to do it for me. I just thought I remember reading that there is a function in jquery that did that already. There is a deserialize plugin. But from what I rememeber its mostly concerned with mapping the re

[jQuery] Re: serialize string

2007-07-11 Thread Benjamin Sterling
Richard, Thanks, that is what I did, just created a function to do it for me. I just thought I remember reading that there is a function in jquery that did that already. Thanks again. On 7/11/07, Richard D. Worth <[EMAIL PROTECTED]> wrote: Don't know if there is another way, but my thought is

[jQuery] Re: serialize string

2007-07-11 Thread Richard D. Worth
Don't know if there is another way, but my thought is to split() on the '&' and then split() on the '='. Gotcha there would be &'s used to escape chars, ex. biz=AT&T&industry=telecom - Richard On 7/11/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: Hey guys and gals, I need to convert: fnam