What values do the variables "action"  and postThis contain? You
describe them as "actions", isn't telling me anything.

Jörn

On Wed, Aug 12, 2009 at 7:40 PM, cz231<cz2...@gmail.com> wrote:
>
> Hi,
>
> I'm using AJAX to submit a form. I'm using the POST method. Example:
>
> $.post(action, postThis);
>
> Both action and postThis are actions. Action is the URL and postThis
> is the data to be submitted. Right now, this isn't working. I know I
> can pass the action variable because that has always been working. But
> how do I put the parameters there as a variable? It will work if I
> express the parameters like this:
>
> $.post(action, {Name: "Jimmy", Username: "Something", Password:
> "something", Email: "someth...@someplace.com" });
>
> Any help would be greatly appreciated.
>
>

Reply via email to