Hi,
I'm trying to use the ajax->form code, as below:
<?php echo $ajax->form(null,'post',array('update' =>
'control'.$member['Member']['member_id'], 'url' =>
array('controller'=>'comments', 'action'=>'add'))). "\n";?>
after page loaded I face this error in the Error Console:
Error: element is null
if (element._prototypeEventID) return element._prototypeEventID[0];
Source File: /prototype.js
Line: 3847
If I remove the ajax line, the error is not there. Have I written it
wrong?
Hope someone can help me.
Regrads,
Mohammadreza
--
View this message in context:
http://n2.nabble.com/ajax-form-field-element-null-error-tp2360578p2360578.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---