Hi
I have this view:
<?php
echo $javascript->codeBlock("
function createNewArticle(id) {
var name = $F('sectionName');
alert(name);
}
");
?>
<input type="text" id="sectionName" size="25">
When I try this view with my browser I get this error:
Notice: Undefined variable: F in ......
How I can resolve this ?
Many Thanks
Marco
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---