hello everybody

I am trying to see how to clean my entry html fields, I have a ajax
form, please look at my 4 lines bellow.

<?=$ajax->form('/PedidoMovimentos/
addajx','post',array('update'=>'movimentos','url'=>'/PedidoMovimentos/
addajx/'.$pedido['Pedido']['id']));?>

echo $form->select('item_id',$items2,'teste');
echo $form->text('quantidade',array('id'=>'quantidade','value'=>'0'));

echo $form->end('Processa');?>

The thing is after my div is updated the controll returns to my
original form (4 lines above), but it brings the previous data already
loaded on it. Does someone know how to clean those field. I tryed to
include javascript but it did not work.

thanks a lot

Carlos
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to