That's not what I was looking for, but thanks anyway...
Guess my language is not quite good in explaining.. :)
Anyway, I solved what I wanted...
I wanted to submit this form to a new page.
But I had some other AJAX calls in the same form that updates this form
(I am transfering some serialized d
ct('/newurl');
}
}
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-Mensaje original-
De: cake-php@googlegr
Thanks for answer, but I wasn't asking for that. I used Ajax.Updater
before and what You have described I already used.
I will try to explain differently:
If I call my action like usual (ie. non-ajax):
http://myserver/mycontroller/myaction/
I get "normal" response. OK?
I want to have that norm
But you are just asking for a normal AJAX update, why are you trying to do
it by yourslef? DRY baby ;) Try this:
index.thtml:
div('updateableDiv'); ?>
...
submit(' Publish selected ', array(
'update' => 'updateableDiv',
'id' => "p