[jQuery] [validate] Validation by Remote: Passing in Data Alongside elementName

[jQuery] [validate] Validation by Remote: Passing in Data Alongside elementName


$("#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.