This is a bit of a long shot but have you tried "quoting" the hash keys?
As in instead of: no_html:"1" Try: "no_html":"1" In theory you should do always so that so as not to get into problems with keys that are also defined elsewhere. Karl Rudd On 12/14/06, Mungbeans <[EMAIL PROTECTED]> wrote: > > > Erik Beeson wrote: > > > > I notice your code also has an underscore in a parameter name. Maybe try > > removing the underscore? > > > > Just realised you mean the parameters to the function. > > If I include a callback function into the JSON call, eg: > $.getJSON("index2.php", > {no_html:"1", > task:"getsection", option:"com_gravesearch", > sectionid:sectionidVal }, > function(json){ > alert(json); > } > ); > > Unfortunately, removing these underscores is not an option as they appear > throughout the code of the main program. I have been using these values > with a lot of $.load calls without any problems. > -- > View this message in context: > http://www.nabble.com/missing---before-statement-tf2818327.html#a7867250 > Sent from the JQuery mailing list archive at Nabble.com. > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/