Hi there,
I am using the form plugin to serialize my form fields and post them to
a php file. It's working fine, but I need to add a variable added to the
serialized object and/or array, that I use to prevent spamming (a
security variable that is not printed in the html code).
So I have the
Try this:
var securityCheck = mysecuritycode;
var formData = $(#myForm).formToArray();
formData.push( { name: security, value: securityCheck });
...
// replace security with whatever the correct name is.
On 3/23/07, Arne-Kolja Bachstein [EMAIL PROTECTED] wrote:
Hi there,
I am using the form
Thank you, Mike, it works great this way! :-)
Arne
http://www.arnekolja.com
Mike Alsup wrote:
Try this:
var securityCheck = mysecuritycode;
var formData = $(#myForm).formToArray();
formData.push( { name: security, value: securityCheck });
...
// replace security with whatever the correct