Hi, everyone

I just follow the instrction from the "to-do list" ajax function. I got
everything copy and pasted.
When I click the Add button there is an error message

To do

Notice: Undefined variable: javascript in
W:\www\blog\cake\libs\view\templates\layouts\default.thtml on line 36

Fatal error: Call to a member function link() on a non-object in
W:\www\blog\cake\libs\view\templates\layouts\default.thtml on line 36

Done
TestDelete
dddDelete

When I press F5 to refesh the whole page. It works!.... I can click to
"to-do" or "done". But when I click the delete function, the same error
message comes again.

I copy the following code and insert between <head>  in to my
default.thtml in the location of  cake/libs/views/templates/layouts/.
<?php print $html->charsetTag('UTF-8') ?>
<?php print $javascript->link('prototype') ?>
<?php print $javascript->link('scriptaculous.js?load=effects') ?> "


Can you help me figure out how is happen ? 

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to