Could you try removing it just to see if that fixes the error? Does the same
thing happen in IE?
--Erik
On 12/13/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
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/