IE keeps popping up an error "expected string identifier" for the
following snippet when a page is loading:
The debugger goes to the line with ,'querystring': bar, but it doesn't
highlight it.
All the variables are declared, and the code runs fine in firefox.
function foo(
{
'url':url
,'onSuccess':dofunction
,'onError':function(req)doerrorfunction
,'parameters':{ 'param1':value, 'param2:'another value',
}
,'querystring': bar
}
);
but when I change the code to:
function foo(
{
'url':url
,'onSuccess':dofunction
,'onError':function(req)doerrorfunction
,'parameters':{ 'param1':value, 'param2':'another value',
'bar':'bar value'
}
}
);