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
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
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
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
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
5 matches
Mail list logo