[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

[jQuery] Re: Fill form fields with value returned from a query

2007-07-12 Thread ashutosh bijoor
Check out the deserialize plugin. It does exactly what you need: http://www.reach1to1.com/sandbox/jquery/testform.html On 7/6/07, Jean [EMAIL PROTECTED] wrote: I think .getJSON better for this dont? $.getJSON('teste.php',{query: 'edit', id: idval}, function(data){ $([EMAIL

[jQuery] Re: canvas graph + draggable node and link

2007-05-17 Thread ashutosh bijoor
Hi Ritesh I dont think i've got exactly what you need, but with a bit of work, you may be able to use it. Check out the code at http://www.reach1to1.com/sandbox/jquery/jqchart/ The base library that the chart uses could be used to create what you want. Regards Ashutosh On 5/18/07, bingo [EMAIL

[jQuery] Re: canvas graph + draggable node and link

2007-05-17 Thread ashutosh bijoor
will work for me.. Regards, Ritesh On May 17, 6:54 pm, ashutosh bijoor [EMAIL PROTECTED] wrote: Hi Ritesh I dont think i've got exactly what you need, but with a bit of work, you may be able to use it. Check out the code athttp://www.reach1to1.com/sandbox/jquery/jqchart/ The base library

[jQuery] Re: serialize() output in key/value pairs

2007-05-02 Thread ashutosh bijoor
You can use this... // Converts parameter array received from serializing the form into JSON $.params2json = function(d) { if (d.constructor != Array) { return d; } var data={}; for(var i=0;id.length;i++) { if (typeof data[d[i].name] != 'undefined') { if