I have this code in my view:
<form name="configurator" id="configurator">
<input type="hidden" name="cpu" value="<?php echo $cpuAll; ?>">
<input type="hidden" name="primaryhd" value="<?php echo
$primaryhdAll; ?>">
<input type="hidden" name="secondaryhd" value="<?php echo
$secondaryhdAll; ?>">
<input type="hidden" name="memory" value="<?php echo $memoryAll; ?
>">
<input type="hidden" name="backup" value="<?php echo $backupAll; ?
>">
<input type="hidden" name="os" value="<?php echo $osAll; ?>">
<input type="button" name="submit" value="submit" border=0
onclick="new Ajax.Updater('updateDiv', 'mailer', {asynchronous:true,
evalScripts:true, parameters:Form.serialize(this.form)})">
</form>
In my controller in function mailer(), I am using pr($this->data), but
there is nothing showing. Looks like the ajax call is not passing the
serialized form.
What is wrong with my code?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---