Citing Chris Hartjes, have everybody forgotten how to use Google? Please, search before post, even in this group, there are at least 4 open threads about this isuue.
Cheers, Martin Bavio On Mar 8, 9:30 pm, Salam Fall <[EMAIL PROTECTED]> wrote: > Here is the piece of Code > and link to the tutorialhttp://www.grahambird.co.uk/cake/tutorials/ajax.php > <?php > > foreach ($data as $row) > { > > $item = $row['Task']; > > if ($item['done'] == 1) > { > > print '<div class="task" id="done_' . $item['id'] . '">'; > print '<input id="done_check_' . $item['id'] . '" > type="checkbox" > checked="true" onClick="new Ajax.Updater(\'tasks_todo\',\'/tasks/ > undo/' . $item['id']. '\', {asynchronous:true, evalScripts:true});new > Effect.Fade(\'done_' . $item['id'] . '\');" /> '; > print '<label for="done_check_' . $item['id'] . '">' . > $item['title'] . '</label>'; > print $ajax->link('Delete', 'delete/' . $item['id'], > array('update'=>'tasks_done')); > print '</div>'; > > } > > } > > ?> > > http://www.grahambird.co.uk/cake/tutorials/ajax.php > > On Mar 8, 5:20 am, Rahulk <[EMAIL PROTECTED]> wrote: > > > Hello > > > i have a selectbox which is populated with states when form is > > loaded. > > i want to populate the cities for the corresponding states in another > > selectbox when i will select the > > state from the selectbox > > > please help me by some example and code > > > thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
