I'm trying to do ajax for the selects - two droplists, categories and subcategories. When I click one of categories, then subcategories should make a response - via observeField
I didn't see any errors in the firebug, The POST data is - data%5BCategory%5D%5Bid%5D=1 As you can see - it's returning id the response mentioned the error - Call to a member function link() on a non-object in <b>/home/peter/ workspace/SheetCenter /app/views/layouts/default.ctp</b> on line <b>8</b><br /> I'm not sure what it does mean. The line 8 consists of - echo $javascript->link('prototype'); I'm following the tutorial - http://web.archive.org/web/20070501122029/http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-using-ajax/ I have been working on this for 2 days, and I didn't see anything wrong with my code. Perhaps, I'm missing something. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---