1 Jun 2011 01:04
Re: observeField equivalent in the new JsHelper
some more information.
I tried to debug this in firebug. When i used firebug it shows the
proper response so i an cluseless on why it's not showing on my page
I changed my js code to the following. Does anyone have any idea on
why my results are not being displayed????????
<?php
> $this->Js->get('#countries')->event('change', $this->Js->request(
> array('controller' => 'users', 'action' =>
> 'update_region_select'),
> array(
> 'update' => '#regions',
> 'async' => true,
> 'dataExpression' => true,
> 'method' => 'post',
> 'data' => $js->serializeForm(array('isForm' => false, 'inline' =>
> true))
> ) ) );
>
> ?>
On May 26, 3:49 pm, arron <w...@...> wrote:
> I have a depdent drop down.
>
> when someone picks a country the regions from the country populate. It
> works in 1.2, but when i migrated to 1.3 i had to change a few things
> around because the ajax, observeField and javascript helper has been
> deprecated
(Continue reading)
RSS Feed