Can anyone help me get this data passed into my url alongside the
element name?

On May 15, 11:54 am, Field <fields...@gmail.com> wrote:
> $("#Form").validate({
>                         rules: {
>                                 storename_name: {
>                                         required: true,
>                                         remote: {
>                                                 url: 
> "/intranet/trunk/app/index.php/storeform/
> findValidstorename",
>                                                 type: "post",
>                                                 data: {
>                                                         foo: "bar"
>                                                 }
>                                         }
>                                 },
>
> Will this send the variable foo containing the value bar into the POST
> alongside the #storename_name value?
>
> If I take out the 'data:{}' piece of the code, it all works fine. The
> way I have it coded above it does not work at all. I need to get an
> additional value sent into the url listed.

Reply via email to