In perl I'm generating the list, e.g. = $helloworld = "hello: var1, goodbye: var2", so basically I'm getting this string from the input box, and I want to have jQuery use this string rather than expecting values, so I want thequery to be evaulated into the list for the jquery function to process it.
On Oct 2, 7:29 am, Dave Methvin <[EMAIL PROTECTED]> wrote: > > \$("#query").load("/mysite/thepage.pl", {thequery}, > > function(){ > > In this case the error is right. {thequery} is not a valid initializer > for an object. > > Maybe you meant {data: thequery} or something like that? What is the > name of the parameter that your Perl page expects to get from the URL > querystring?