In ajax script you can deine "field" and "value". For example "field" will be id of textarea and "value" will be a value. Then you can post this data to your controller. $this->params this function you can recive data.
2009/10/14 Jiru <[email protected]> > > //select.ctp > > <?php > if (!empty($options)) { > foreach ($options as $k => $v) { > echo "<option value='$k'>$v</option>"; > } > } > ?> > > here it shows the values in dropdown list when i used to select it > using Ajax. But for the same process i need it in text boxes, both the > input and output. How i can do it ? > > regards, jiru > > > -- Pozdrawiam, Mateusz Kaczanowski --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
