Hi, it could be that your not supplying the type of return in the .post and
.get calls. According to the API .post and .get have a fourth param of
'type' such as 'xml' or 'json'. This might not be the issue but it could be
because your server won't know what mime type to return. DED

On Tue, Oct 13, 2009 at 8:22 AM, alexryan <alexander.j.r...@gmail.com>wrote:

>
> $.get() and $.post() functions work for me *except* when I supply a
> callback function as the third parameter.
> I can pass in exactly the same set of arguments that work for a load()
> function to $.get() and $.post() and they do not work.
> Has anyone else experienced this?
> If so, does anyone have a work-around?
> I'm using jQuery 1.3.2.
>
> For example ...
>
> This works ...
> $('div.status').load('/quotations/RegisterServlet', parameters,
> register_submitCallback);
>
> This does not work ...
> $.post('/quotations/RegisterServlet', parameters,
> register_submitCallback);

Reply via email to