Hi there,
I want to submit an Ajax form from Javascript. In order to do so I
need to know the fom id or form name.
Using the AjaxHelper::form causes the id to be different with every
page refresh, and assigning one with 'id'='some_id' seems to mess up
the Observe field + Ajax callback.
So I tried to use the name attribute of the form:
$ajax->form('User','POST',array('name'=>'formName',
'update'=>'some_div', 'action'=>'some_action' ));
The problem is that the name attribute doesn't show up in the
sourcecode.
Does anyone have an idea how to assign a name the proper way? Or how
to approach/submit a form without knowing the id or name?
Thanks!
Bart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---