[jQuery] Re: $.post using dynamic arrays

2008-09-16 Thread ricardobeat
Just pass your array object: $.post("/index.php",{run: url, arr : yourarray }, On Sep 16, 1:58 pm, Anthony <[EMAIL PROTECTED]> wrote: > This may be quite simple for many, but I am stuck trying to make a > dynamic $.post() where the request (post) variables passed are fed > from a dynamicly chang

[jQuery] Re: $.post using dynamic arrays

2008-09-16 Thread Anthony
To those who read this: I got my answer. I was setting up an assoc. array with [ ]... in Javascript, this is not how it is done. /-- CODE --/ function http(verb, url, callback, paramstr) { params = { }; var urlparts = url.split('?'); paramstr += '&' + urlparts[1];